VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/Include
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2016-10-17 09:52:34 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2016-10-17 18:17:51 +0200
commit983e8daf4c898417b63ae0fdcef9571f6d8d9993 (patch)
tree8585c145c5d893663f093e1afff8a0fcb6dfd32b /Include
parentf6541e76e09b888884830f19dae47e4004c6df62 (diff)
downloadVeraCrypt-DCS-983e8daf4c898417b63ae0fdcef9571f6d8d9993.tar.gz
VeraCrypt-DCS-983e8daf4c898417b63ae0fdcef9571f6d8d9993.zip
Use UINT64 instead of size_t in MEM_BURN macro for better compatibility
Diffstat (limited to 'Include')
-rw-r--r--Include/Library/CommonLib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/Library/CommonLib.h b/Include/Library/CommonLib.h
index 4f28e9b..e1e30b0 100644
--- a/Include/Library/CommonLib.h
+++ b/Include/Library/CommonLib.h
@@ -32,7 +32,7 @@ https://opensource.org/licenses/LGPL-3.0
#define MEM_ALLOC MemAlloc
#define MEM_FREE MemFree
#define MEM_REALLOC MemRealloc
-#define MEM_BURN(ptr,count) do { volatile char *burnPtr = (volatile char *)(ptr); size_t burnCount = (size_t) count; while (burnCount--) *burnPtr++ = 0; } while (0)
+#define MEM_BURN(ptr,count) do { volatile char *burnPtr = (volatile char *)(ptr); UINT64 burnCount = (UINT64) count; while (burnCount--) *burnPtr++ = 0; } while (0)
VOID*
MemAlloc(