Fixed a compiler warning.

(transplanted from b3f242b5533385c0faf4e0105e45c58b80fca7af)
This commit is contained in:
Ryan C. Gordon 2011-11-18 01:08:19 -05:00
parent b7694abe3c
commit 26c1d991d4
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ int PHYSFSEXT_locateCorrectCase(char *buf)
if (*ptr == '\0')
return(0); /* Uh...I guess that's success. */
while (ptr = strchr(ptr + 1, '/'))
while ( (ptr = strchr(ptr + 1, '/')) != NULL )
{
*ptr = '\0'; /* block this path section off */
rc = locateOneElement(buf);