diff options
Diffstat (limited to 'CPP/7zip/Archive/Wim/WimIn.h')
-rw-r--r-- | CPP/7zip/Archive/Wim/WimIn.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/CPP/7zip/Archive/Wim/WimIn.h b/CPP/7zip/Archive/Wim/WimIn.h index 9e835b0..3de8456 100644 --- a/CPP/7zip/Archive/Wim/WimIn.h +++ b/CPP/7zip/Archive/Wim/WimIn.h | |||
@@ -1,7 +1,7 @@ | |||
1 | // Archive/WimIn.h | 1 | // Archive/WimIn.h |
2 | 2 | ||
3 | #ifndef __ARCHIVE_WIM_IN_H | 3 | #ifndef ZIP7_INC_ARCHIVE_WIM_IN_H |
4 | #define __ARCHIVE_WIM_IN_H | 4 | #define ZIP7_INC_ARCHIVE_WIM_IN_H |
5 | 5 | ||
6 | #include "../../../../C/Alloc.h" | 6 | #include "../../../../C/Alloc.h" |
7 | 7 | ||
@@ -192,7 +192,7 @@ struct CSolid | |||
192 | 192 | ||
193 | UInt64 UnpackSize; | 193 | UInt64 UnpackSize; |
194 | int Method; | 194 | int Method; |
195 | int ChunkSizeBits; | 195 | unsigned ChunkSizeBits; |
196 | 196 | ||
197 | UInt64 HeadersSize; | 197 | UInt64 HeadersSize; |
198 | // size_t NumChunks; | 198 | // size_t NumChunks; |
@@ -258,8 +258,8 @@ struct CHeader | |||
258 | UInt32 NumImages; | 258 | UInt32 NumImages; |
259 | UInt32 BootIndex; | 259 | UInt32 BootIndex; |
260 | 260 | ||
261 | bool _IsOldVersion; // 1.10- | 261 | bool _isOldVersion; // 1.10- |
262 | bool _IsNewVersion; // 1.13+ or 0.14 | 262 | bool _isNewVersion; // 1.13+ or 0.14 |
263 | 263 | ||
264 | CResource OffsetResource; | 264 | CResource OffsetResource; |
265 | CResource XmlResource; | 265 | CResource XmlResource; |
@@ -295,8 +295,8 @@ struct CHeader | |||
295 | return mask; | 295 | return mask; |
296 | } | 296 | } |
297 | 297 | ||
298 | bool IsOldVersion() const { return _IsOldVersion; } | 298 | bool IsOldVersion() const { return _isOldVersion; } |
299 | bool IsNewVersion() const { return _IsNewVersion; } | 299 | bool IsNewVersion() const { return _isNewVersion; } |
300 | bool IsSolidVersion() const { return (Version == k_Version_Solid); } | 300 | bool IsSolidVersion() const { return (Version == k_Version_Solid); } |
301 | 301 | ||
302 | bool AreFromOnArchive(const CHeader &h) | 302 | bool AreFromOnArchive(const CHeader &h) |
@@ -457,7 +457,7 @@ public: | |||
457 | bool RefCountError; | 457 | bool RefCountError; |
458 | bool HeadersError; | 458 | bool HeadersError; |
459 | 459 | ||
460 | bool GetStartImageIndex() const { return IsOldVersion9 ? 0 : 1; } | 460 | unsigned GetStartImageIndex() const { return IsOldVersion9 ? 0 : 1; } |
461 | unsigned GetDirAlignMask() const { return IsOldVersion9 ? 3 : 7; } | 461 | unsigned GetDirAlignMask() const { return IsOldVersion9 ? 3 : 7; } |
462 | 462 | ||
463 | // User Items can contain all images or just one image from all. | 463 | // User Items can contain all images or just one image from all. |