Windows: solve 64-bit compilation warnings after checking that they are harmless.

This commit is contained in:
Mounir IDRASSI committed 2015-05-26 01:38:11 +02:00
1 parent a8651ac014
commit 85e5e383f9
11 files changed
+114 -113

No files matched your search

+1 -1
View File
@@ -220,7 +220,7 @@ typedef int BOOL;
#endif
#ifdef _WIN32
#define burn(mem,size) do { volatile char *burnm = (volatile char *)(mem); int burnc = size; RtlSecureZeroMemory (mem, size); while (burnc--) *burnm++ = 0; } while (0)
#define burn(mem,size) do { volatile char *burnm = (volatile char *)(mem); size_t burnc = size; RtlSecureZeroMemory (mem, size); while (burnc--) *burnm++ = 0; } while (0)
#else
#define burn(mem,size) do { volatile char *burnm = (volatile char *)(mem); int burnc = size; while (burnc--) *burnm++ = 0; } while (0)
#endif