Fixing Linux SCons build.
[xonotic/netradiant.git] / contrib / bobtoolz / misc.cpp
index a0490b46ff65addb886496fa4a42841b2274be1c..b1929f3858a3eab93c0339947240dde475eac76a 100644 (file)
@@ -180,7 +180,7 @@ char* UnixToDosPath(char* path)
 
 const char* ExtractFilename(const char* path)
 {
-       char* p = strrchr(path, '/');
+       const char* p = strrchr(path, '/');
        if(!p)
        {
                p = strrchr(path, '\\');