diff --git a/build/premake/src/Src/path.c b/build/premake/src/Src/path.c index 5c8da681af..f433a1f4ef 100644 --- a/build/premake/src/Src/path.c +++ b/build/premake/src/Src/path.c @@ -240,7 +240,7 @@ const char* path_getname(const char* path) path_translateInPlace(forpart, "posix"); ptr = strrchr(forpart, '/'); - ptr = (ptr != NULL) ? ++ptr : forpart; + ptr = (ptr != NULL) ? ptr+1 : forpart; return ptr; } diff --git a/build/premake/src/Src/vs.c b/build/premake/src/Src/vs.c index 27afae6e3f..1c7960685c 100644 --- a/build/premake/src/Src/vs.c +++ b/build/premake/src/Src/vs.c @@ -173,7 +173,7 @@ static void tag_attr_open(const char* name) io_print("=\""); } -static tag_attr_close() +static void tag_attr_close() { io_print("\""); attrib++;