]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - plugins/vfswad/vfs.cpp
Fixing Linux SCons build.
[xonotic/netradiant.git] / plugins / vfswad / vfs.cpp
index b6e69823364a81d02be57eb7b908f9837c9126ea..5aca73a0d377dc1ec49f366c1ce374e9858068c3 100644 (file)
@@ -380,7 +380,7 @@ void vfsInitDirectory (const char *path)
         if(name == NULL)
           break;
 
-        char *ext = strrchr (name, '.');
+        const char *ext = strrchr (name, '.');
         if ((ext == NULL) || (strcmp (ext, ".wad") != 0))
           continue;