1
1
Fork 0
mirror of https://github.com/pbatard/rufus.git synced 2024-08-14 23:57:05 +00:00

Fix build error

This commit is contained in:
Rose 2022-12-05 12:02:32 -05:00 committed by GitHub
parent 8f66a9c1a6
commit 7ff8fb6b06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -428,7 +428,7 @@ uint64_t DownloadToFileOrBuffer(const char* url, const char* file, BYTE** buffer
uprintf("Unable to retrieve file length: %s", WinInetErrorString()); uprintf("Unable to retrieve file length: %s", WinInetErrorString());
goto out; goto out;
} }
total_size = strtoull(strsize); total_size = strtoull(strsize, NULL, 10);
if (hProgressDialog != NULL) { if (hProgressDialog != NULL) {
char msg[128]; char msg[128];
uprintf("File length: %s", SizeToHumanReadable(total_size, FALSE, FALSE)); uprintf("File length: %s", SizeToHumanReadable(total_size, FALSE, FALSE));