From 252e7a1ec323fc6cccb91dbdcae92db7efd851a6 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 23 May 2011 13:05:35 +0200 Subject: SWORD25: Fix ambiguous typing --- engines/sword25/util/lua/scummvm_file.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') diff --git a/engines/sword25/util/lua/scummvm_file.cpp b/engines/sword25/util/lua/scummvm_file.cpp index 98fc1276a7..659f5a36c2 100644 --- a/engines/sword25/util/lua/scummvm_file.cpp +++ b/engines/sword25/util/lua/scummvm_file.cpp @@ -59,7 +59,7 @@ Sword25FileProxy::~Sword25FileProxy() { } size_t Sword25FileProxy::read(void *ptr, size_t size, size_t count) { - size_t bytesRead = MIN(_readData.size() - _readPos, size * count); + size_t bytesRead = MIN(_readData.size() - _readPos, size * count); memmove(ptr, &_readData.c_str()[_readPos], bytesRead); _readPos += bytesRead; return bytesRead / size; -- cgit v1.2.3