diff options
author | Max Horn | 2003-09-19 19:11:33 +0000 |
---|---|---|
committer | Max Horn | 2003-09-19 19:11:33 +0000 |
commit | d9b0a79390d0f149538348e45f49584eaad31c61 (patch) | |
tree | 6021c2111696f61a9f8e300d8bc885cd8f1fe01a /scumm | |
parent | a1735e55023d76294aaa5cb01a385388f2e47ae5 (diff) | |
download | scummvm-rg350-d9b0a79390d0f149538348e45f49584eaad31c61.tar.gz scummvm-rg350-d9b0a79390d0f149538348e45f49584eaad31c61.tar.bz2 scummvm-rg350-d9b0a79390d0f149538348e45f49584eaad31c61.zip |
fixed some pointer cast warnings on systems with 64 bit pointers (like AMD64)
svn-id: r10315
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/saveload.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/saveload.h b/scumm/saveload.h index 5042befa06..e6120c6700 100644 --- a/scumm/saveload.h +++ b/scumm/saveload.h @@ -38,7 +38,7 @@ // current reality (many of our complex structs are non-POD; for an explanation of // what POD means refer to http://www-cpd.fnal.gov/personal/wb/boost/ISOcxx/doc/POD.html) -#define OFFS(type,item) (((int)(&((type*)42)->type::item))-42) +#define OFFS(type,item) (((long)(&((type*)42)->type::item))-42) #define SIZE(type,item) sizeof(((type*)42)->type::item) // Any item that is still in use automatically gets a maxVersion equal to CURRENT_VER |