1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 19:08:26 -06:00

Windows: fix compiler warnings

This commit is contained in:
Mounir IDRASSI
2016-06-05 13:50:55 +02:00
parent 76d3bc631e
commit d4e95293d9
2 changed files with 6 additions and 3 deletions

View File

@@ -361,9 +361,11 @@ BOOL LoadLanguageFile ()
header = headerPtr;
if (header == NULL) return FALSE;
header--;
do
{
header++;
if (sscanf (header, "#define %127s %d", key, &intKey) == 2)
{
WCHAR *str = GetString (key);
@@ -372,7 +374,7 @@ BOOL LoadLanguageFile ()
AddDictionaryEntry (NULL, intKey, str);
}
} while ((header = strchr (header, '\n') + 1) != (char *) 1);
} while ((header = strchr (header, '\n')) != NULL);
free (headerPtr);
}