diff options
author | Filippos Karapetis | 2015-07-17 10:36:20 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2015-12-15 00:05:02 +0100 |
commit | 79ed1e1f05dc1537f666018bc7240a5d96835b5b (patch) | |
tree | f89e11d715c89ce3e2e0940091f32af022b06b7f /engines/lab/labfile.cpp | |
parent | 884b80f2150c4509912988b19e0106aa15e1008f (diff) | |
download | scummvm-rg350-79ed1e1f05dc1537f666018bc7240a5d96835b5b.tar.gz scummvm-rg350-79ed1e1f05dc1537f666018bc7240a5d96835b5b.tar.bz2 scummvm-rg350-79ed1e1f05dc1537f666018bc7240a5d96835b5b.zip |
LAB: Get rid of numtostr(), and simplify most uses of sizeOfFile()
Diffstat (limited to 'engines/lab/labfile.cpp')
-rw-r--r-- | engines/lab/labfile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/lab/labfile.cpp b/engines/lab/labfile.cpp index c2acb203a5..43825f018d 100644 --- a/engines/lab/labfile.cpp +++ b/engines/lab/labfile.cpp @@ -203,7 +203,7 @@ bool allocFile(void **Ptr, uint32 Size, const char *fileName) { /*****************************************************************************/ /* Reads a file into memory. */ /*****************************************************************************/ -byte **openFile(const char *name) { +byte **openFile(const char *name, uint32 &size) { byte *buf; Common::File file; @@ -215,7 +215,7 @@ byte **openFile(const char *name) { return NULL; } - uint32 size = file.size(); + size = file.size(); buf = (byte *)malloc(size); |