Merge pull request #5777 from bkoropoff/fmt-win

task_database: fix crash from Windows-incomptabile format string
This commit is contained in:
Twinaphex 2017-11-25 04:00:56 +01:00 committed by GitHub
commit 8087df7c2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -505,7 +505,7 @@ static int task_database_cue_get_crc(const char *name, uint32_t *crc)
return 0;
}
RARCH_LOG("CUE '%s' primary track: %s\n (%Zu, %Zu)", name, track_path, offset, size);
RARCH_LOG("CUE '%s' primary track: %s\n (%lu, %lu)\n", name, track_path, (unsigned long) offset, (unsigned long) size);
RARCH_LOG("%s\n", msg_hash_to_str(MSG_READING_FIRST_DATA_TRACK));