[Scummvm-git-logs] scummvm master -> ff202dc884af4955d8dc58cc843e0bf914296fd4
digitall
547637+digitall at users.noreply.github.com
Fri Mar 5 10:11:28 UTC 2021
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:
ff202dc884 DEVTOOLS: Fix GCC Warning in create_xeen
Commit: ff202dc884af4955d8dc58cc843e0bf914296fd4
https://github.com/scummvm/scummvm/commit/ff202dc884af4955d8dc58cc843e0bf914296fd4
Author: D G Turner (digitall at scummvm.org)
Date: 2021-03-05T10:10:15Z
Commit Message:
DEVTOOLS: Fix GCC Warning in create_xeen
The return type of the local File class read method is long, not size_t.
Changed paths:
devtools/create_xeen/cc.cpp
diff --git a/devtools/create_xeen/cc.cpp b/devtools/create_xeen/cc.cpp
index 33dd5ce675..1d3ce76fdc 100644
--- a/devtools/create_xeen/cc.cpp
+++ b/devtools/create_xeen/cc.cpp
@@ -59,7 +59,7 @@ uint16 CCArchive::convertNameToId(const Common::String &resourceName) {
void CCArchive::loadIndex() {
int count = _file.readUint16LE();
- size_t size = count * 8;
+ long size = count * 8;
// Read in the data for the archive's index
byte *rawIndex = new byte[size];
More information about the Scummvm-git-logs
mailing list