mirror of
https://github.com/reactos/wine.git
synced 2024-11-30 23:20:56 +00:00
wininet: Use isspaceW() instead of isspace() for WCHARs.
Found with Coccinelle. Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
2532b1476a
commit
05c23c95f8
@ -4295,7 +4295,7 @@ static BOOL HTTP_ParseDateAsAsctime(LPCWSTR value, FILETIME *ft)
|
||||
while (isspaceW(*ptr))
|
||||
ptr++;
|
||||
|
||||
for (monthPtr = month; !isspace(*ptr) &&
|
||||
for (monthPtr = month; !isspaceW(*ptr) &&
|
||||
monthPtr - month < sizeof(month) / sizeof(month[0]) - 1;
|
||||
monthPtr++, ptr++)
|
||||
*monthPtr = *ptr;
|
||||
@ -4392,7 +4392,7 @@ static BOOL HTTP_ParseRfc1123Date(LPCWSTR value, FILETIME *ft)
|
||||
while (isspaceW(*ptr))
|
||||
ptr++;
|
||||
|
||||
for (monthPtr = month; !isspace(*ptr) &&
|
||||
for (monthPtr = month; !isspaceW(*ptr) &&
|
||||
monthPtr - month < sizeof(month) / sizeof(month[0]) - 1;
|
||||
monthPtr++, ptr++)
|
||||
*monthPtr = *ptr;
|
||||
|
Loading…
Reference in New Issue
Block a user