]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - plugins/vfspak/vfs.cpp
Fixing Linux SCons build.
[xonotic/netradiant.git] / plugins / vfspak / vfs.cpp
index 6779d231efb20769e029d2526fbc6cc95697e023..e64ee4f1a832907c632eb769e6277e4bb896bbab 100644 (file)
@@ -405,7 +405,7 @@ void vfsInitDirectory (const char *path)
         if(name == NULL)
           break;
 
-        char *ext = strrchr (name, '.');
+        const char *ext = strrchr (name, '.');
         if ((ext == NULL) || (strcasecmp (ext, ".pak") != 0))
           continue;