From 5705d286f694a348fbb03124df97c67786b7e9c2 Mon Sep 17 00:00:00 2001 From: Murai Takashi Date: Sun, 13 Jun 2021 19:57:40 +0900 Subject: [PATCH] storage kit: fix more wrong type of arguments to formatting function Pointed out by LGTM Change-Id: Iee81983a86cd71714dcedcf58f74bcea59ca619d Reviewed-on: https://review.haiku-os.org/c/haiku/+/4607 Tested-by: Commit checker robot Reviewed-by: Adrien Destugues --- src/kits/storage/ResourceFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kits/storage/ResourceFile.cpp b/src/kits/storage/ResourceFile.cpp index aa677d1f71..d681287b29 100644 --- a/src/kits/storage/ResourceFile.cpp +++ b/src/kits/storage/ResourceFile.cpp @@ -990,7 +990,7 @@ ResourceFile::_ReadInfoTable(resource_parse_info& parseInfo) uint32 bytesLeft = (const char*)tableData + dataSize - (const char*)data; if (bytesLeft != 0) { throw Exception(B_IO_ERROR, "Error at the end of the resource info " - "table: %lu bytes are remaining.", bytesLeft); + "table: %" B_PRIu32 " bytes are remaining.", bytesLeft); } // check, if all items have been initialized for (int32 i = resourceCount - 1; i >= 0; i--) {