Don't use a dereferencing operator when incrementing the pointer here.
[reactos.git] / reactos / tools / rbuild / directory.cpp
index 9b9ce3e..d0346d9 100644 (file)
@@ -26,7 +26,7 @@
 #endif//_MSC_VER
 
 #ifdef WIN32
-#define MKDIR(s) _mkdir(s)
+#define MKDIR(s) mkdir(s)
 #else
 #define MKDIR(s) mkdir(s, 0755)
 #endif
@@ -197,7 +197,7 @@ Directory::EscapeSpaces ( const string& path )
                        newpath = newpath + "\\ ";
                else
                        newpath = newpath + *p;
-               *p++;
+               p++;
        }
        return newpath;
 }