diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2015-05-23 19:26:06 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2015-05-26 01:38:11 +0200 |
commit | 85e5e383f9b879736d7a793a5dc0f9bce20b8383 (patch) | |
tree | be3657150ecacdf8b52a398479d38996634ffc8c /src/Format/InPlace.c | |
parent | a8651ac01420b337ea21ab6c7284c6d04c0330b4 (diff) | |
download | VeraCrypt-85e5e383f9b879736d7a793a5dc0f9bce20b8383.tar.gz VeraCrypt-85e5e383f9b879736d7a793a5dc0f9bce20b8383.zip |
Windows: solve 64-bit compilation warnings after checking that they are harmless.
Diffstat (limited to 'src/Format/InPlace.c')
-rw-r--r-- | src/Format/InPlace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Format/InPlace.c b/src/Format/InPlace.c index 408f6252..cf96b813 100644 --- a/src/Format/InPlace.c +++ b/src/Format/InPlace.c @@ -2003,7 +2003,7 @@ BOOL SaveNonSysInPlaceEncSettings (int delta, WipeAlgorithmId newWipeAlgorithm, {
StringCbPrintfA (str, sizeof(str), "%d", (int) newWipeAlgorithm);
- SaveBufferToFile (str, GetConfigPath (TC_APPD_FILENAME_NONSYS_INPLACE_ENC_WIPE), strlen(str), FALSE);
+ SaveBufferToFile (str, GetConfigPath (TC_APPD_FILENAME_NONSYS_INPLACE_ENC_WIPE), (DWORD) strlen(str), FALSE);
}
else if (FileExists (GetConfigPath (TC_APPD_FILENAME_NONSYS_INPLACE_ENC_WIPE)))
{
@@ -2013,7 +2013,7 @@ BOOL SaveNonSysInPlaceEncSettings (int delta, WipeAlgorithmId newWipeAlgorithm, StringCbPrintfA (str, sizeof(str), "%d", count);
- return SaveBufferToFile (str, GetConfigPath (TC_APPD_FILENAME_NONSYS_INPLACE_ENC), strlen(str), FALSE);
+ return SaveBufferToFile (str, GetConfigPath (TC_APPD_FILENAME_NONSYS_INPLACE_ENC), (DWORD) strlen(str), FALSE);
}
|