Skip to content
Permalink
Browse files
Fixed a compiler warning.
  • Loading branch information
icculus committed Nov 18, 2011
1 parent 608958b commit d1d0de39478f10ac255cacedb8debf50b7362129

File 1 of 1 in d1d0de3

@@ -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);

0 comments on commit d1d0de3

Please sign in to comment.