diff options
Diffstat (limited to 'engines/gob')
-rw-r--r-- | engines/gob/gob.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/gob.cpp b/engines/gob/gob.cpp index 75dfb8727f..2629286b01 100644 --- a/engines/gob/gob.cpp +++ b/engines/gob/gob.cpp @@ -348,7 +348,7 @@ DetectedGameList Engine_GOB_detectGames(const FSList &fslist) { uint8 md5sum[16]; char md5str[32 + 1]; - if (Common::md5_file(file->path().c_str(), md5sum, kMD5FileSizeLimit)) { + if (Common::md5_file(*file, md5sum, kMD5FileSizeLimit)) { for (int i = 0; i < 16; i++) { sprintf(md5str + i * 2, "%02x", (int)md5sum[i]); } |