[Scummvm-git-logs] scummvm master -> bc61cb612316eabd28b52771995aad74fe0c3fb4

Strangerke noreply at scummvm.org
Fri May 10 21:27:47 UTC 2024


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
bc61cb6123 BAGEL: Fix format in reportError (CID 1544858)


Commit: bc61cb612316eabd28b52771995aad74fe0c3fb4
    https://github.com/scummvm/scummvm/commit/bc61cb612316eabd28b52771995aad74fe0c3fb4
Author: Strangerke (arnaud.boutonne at gmail.com)
Date: 2024-05-10T22:27:39+01:00

Commit Message:
BAGEL: Fix format in reportError (CID 1544858)

Changed paths:
    engines/bagel/boflib/dat_file.cpp


diff --git a/engines/bagel/boflib/dat_file.cpp b/engines/bagel/boflib/dat_file.cpp
index f9f5378c154..7ae6fa59af1 100644
--- a/engines/bagel/boflib/dat_file.cpp
+++ b/engines/bagel/boflib/dat_file.cpp
@@ -426,7 +426,7 @@ ErrorCode CBofDataFile::readFromFile(int32 lRecNum, void *pBuf, int32 lBytes) {
 				// Don't bother with a CRC as this chunk of input won't generate a proper
 				// CRC anyway.
 			} else {
-				logError(buildString("Error reading record %ld in file '%s'", lRecNum, _szFileName));
+				logError(buildString("Error reading record %u in file '%s'", lRecNum, _szFileName));
 				_errCode = ERR_FREAD;
 			}
 		}




More information about the Scummvm-git-logs mailing list