diff options
author | Sven Hesse | 2011-08-18 01:26:25 +0200 |
---|---|---|
committer | Sven Hesse | 2011-08-18 01:26:25 +0200 |
commit | cd6708b3975fa8fde858115d01f1ae288ae311e9 (patch) | |
tree | 41606ebeab548455ed101085ecc85497297fcc12 /engines/dreamweb | |
parent | d79364489d2aa15503d8d163fd8c6c59bd7e517e (diff) | |
download | scummvm-rg350-cd6708b3975fa8fde858115d01f1ae288ae311e9.tar.gz scummvm-rg350-cd6708b3975fa8fde858115d01f1ae288ae311e9.tar.bz2 scummvm-rg350-cd6708b3975fa8fde858115d01f1ae288ae311e9.zip |
DREAMWEB: Fix compile on non-GNU compilers
mempcpy is a GNU extension and the only difference to memcpy is the
return value, which this code happily ignores. So I assume it's a
typo.
Diffstat (limited to 'engines/dreamweb')
-rw-r--r-- | engines/dreamweb/saveload.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/dreamweb/saveload.cpp b/engines/dreamweb/saveload.cpp index 959cc25ed0..636182dc83 100644 --- a/engines/dreamweb/saveload.cpp +++ b/engines/dreamweb/saveload.cpp @@ -301,7 +301,7 @@ void DreamGenContext::savegame() { ds = data; dx = kSavenames; _add(dx, ax); - mempcpy(data.ptr(dx,17), descbuf, 17); + memcpy(data.ptr(dx,17), descbuf, 17); saveseg(); } else { // savenames only has room for descriptions for 7 slots |