summaryrefslogtreecommitdiff
path: root/src/drive.h
diff options
context:
space:
mode:
authorStef Walter <stef@thewalter.net>2010-11-12 03:15:45 +0000
committerStef Walter <stef@thewalter.net>2010-11-12 03:15:45 +0000
commit0cfb5be72f4d74539d7b7e8c4ea0d0b5fcc03a38 (patch)
tree6e0127c1bededb5c46b7c1543bcfc0956953c302 /src/drive.h
parent28173f3e2037a37cdd6d6afe7f1b084e216df1ca (diff)
Fix problems with sector command line arguments being too small.
Diffstat (limited to 'src/drive.h')
-rw-r--r--src/drive.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/drive.h b/src/drive.h
index cd8078b..e943ef1 100644
--- a/src/drive.h
+++ b/src/drive.h
@@ -36,15 +36,15 @@ struct _drivelocks;
typedef struct _partitioninfo
{
- uint32 first; /* The first sector (in sectors) */
- uint32 end; /* The end sector (in sectors) */
- uint32 mft; /* Offset into the MFT (in sectors) */
- byte cluster; /* Cluster size (in sectors) */
- int device; /* A handle to an open device */
-
- /* Some other context stuff about the drive */
- struct _drivelocks* locks;
- struct _ntfsx_mftmap* mftmap;
+ uint64 first; /* The first sector (in sectors) */
+ uint64 end; /* The end sector (in sectors) */
+ uint64 mft; /* Offset into the MFT (in sectors) */
+ byte cluster; /* Cluster size (in sectors) */
+ int device; /* A handle to an open device */
+
+ /* Some other context stuff about the drive */
+ struct _drivelocks* locks;
+ struct _ntfsx_mftmap* mftmap;
}
partitioninfo;