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

@@ -128,9 +128,10 @@ char *XmlGetNodeText (char *xmlNode, char *xmlText, int xmlTextSize)
if (t[0] != '<')
return NULL;
t = strchr (t, '>') + 1;
if (t == (char *)1) return NULL;
t = strchr (t, '>');
if (t == NULL) return NULL;
t++;
e = strchr (e, '<');
if (e == NULL) return NULL;