Commit ff4dd210 authored by rswindell's avatar rswindell
Browse files

Address compiler warnings about printf-format in Windows build.

parent db7a2487
......@@ -629,11 +629,11 @@ char* DLLCALL os_version(char *str)
}
}
sprintf(str,"Windows %sVersion %u.%u"
sprintf(str,"Windows %sVersion %lu.%lu"
,winflavor
,winver.dwMajorVersion, winver.dwMinorVersion);
if(winver.dwBuildNumber)
sprintf(str+strlen(str), " (Build %u)", winver.dwBuildNumber);
sprintf(str+strlen(str), " (Build %lu)", winver.dwBuildNumber);
if(winver.szCSDVersion[0])
sprintf(str+strlen(str), " %s", winver.szCSDVersion);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment