diff options
author | Johannes Schickel | 2013-01-09 06:44:22 +0100 |
---|---|---|
committer | Johannes Schickel | 2013-01-09 07:24:37 +0100 |
commit | b27736fc3f84d061c15795b1d72c989857596c2d (patch) | |
tree | b3f1fd12ea4d4cd9fa3379dfd03ef89fede9b9ad | |
parent | ff7a34aec53aef060db50c45eaeaec611eb8c31d (diff) | |
download | scummvm-rg350-b27736fc3f84d061c15795b1d72c989857596c2d.tar.gz scummvm-rg350-b27736fc3f84d061c15795b1d72c989857596c2d.tar.bz2 scummvm-rg350-b27736fc3f84d061c15795b1d72c989857596c2d.zip |
SKY: Silence C++11 narrowing warnings.
-rw-r--r-- | engines/sky/compact.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sky/compact.cpp b/engines/sky/compact.cpp index cf9bd55b1a..ee165934a0 100644 --- a/engines/sky/compact.cpp +++ b/engines/sky/compact.cpp @@ -34,7 +34,7 @@ namespace Sky { #define SKY_CPT_SIZE 419427 -#define OFFS(type,item) (((ptrdiff_t)(&((type *)42)->item))-42) +#define OFFS(type,item) ((uint32)(((ptrdiff_t)(&((type *)42)->item))-42)) #define MK32(type,item) OFFS(type, item),0,0,0 #define MK16(type,item) OFFS(type, item),0 #define MK32_A5(type, item) MK32(type, item[0]), MK32(type, item[1]), \ |