Commit d37f6cba authored by Jan Gerber's avatar Jan Gerber
Browse files

mingw32 does not like %qx

parent 044dfd9b
......@@ -298,7 +298,11 @@ unsigned long long gen_oshash(char const *filename) {
void json_oshash(FILE *output, char const *filename) {
char hash[16];
#ifdef WIN32
sprintf(hash,"%16I64x", gen_oshash(filename));
sprintf(hash,"%qx", gen_oshash(filename));
json_add_key_value(output, "oshash", (void *)hash, JSON_STRING, 0);
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