[misc] fix the use of invalid "%luX" formatter

* "%luX" is invalid as "X" already means unsigned hexadecimal so there's no need for "u"
This commit is contained in:
Pete Batard 2016-06-02 21:20:29 +01:00
parent c2fc113f8a
commit 07497fc231
4 changed files with 10 additions and 10 deletions

View file

@ -203,7 +203,7 @@ const char* WinInetErrorString(void)
InternetGetLastResponseInfoA(&error_code, error_string, &size);
return error_string;
default:
safe_sprintf(error_string, sizeof(error_string), "Unknown internet error 0x%08luX", error_code);
safe_sprintf(error_string, sizeof(error_string), "Unknown internet error 0x%08lX", error_code);
return error_string;
}
}