aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage
diff options
context:
space:
mode:
authorPaul Gilbert2011-02-18 20:21:07 +1100
committerPaul Gilbert2011-02-18 20:21:07 +1100
commitd16b89d8f97430cdb1b7847ab6ec759e2b223780 (patch)
tree7f7eafc064608ce9fcf04c418c86ea80586089cd /engines/tsage
parent3c454685c21a7e2f659c13899959f1cf56e93285 (diff)
parent1a84b04ce139cb026cb4a90dea6b8ce2b6fd716c (diff)
downloadscummvm-rg350-d16b89d8f97430cdb1b7847ab6ec759e2b223780.tar.gz
scummvm-rg350-d16b89d8f97430cdb1b7847ab6ec759e2b223780.tar.bz2
scummvm-rg350-d16b89d8f97430cdb1b7847ab6ec759e2b223780.zip
Merge of GCC compilation fixes
Diffstat (limited to 'engines/tsage')
-rw-r--r--engines/tsage/saveload.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/tsage/saveload.h b/engines/tsage/saveload.h
index 054d968105..efaa8d696e 100644
--- a/engines/tsage/saveload.h
+++ b/engines/tsage/saveload.h
@@ -52,8 +52,8 @@ struct tSageSavegameHeader {
/*--------------------------------------------------------------------------*/
#define SYNC_POINTER(x) s.syncPointer((SavedObject **)&x)
-#define SYNC_ENUM(FIELD, TYPE) int v_##FIELD## = (int)FIELD; s.syncAsUint16LE(v_##FIELD##); \
- if (s.isLoading()) FIELD = (TYPE)v_##FIELD##;
+#define SYNC_ENUM(FIELD, TYPE) int v_##FIELD = (int)FIELD; s.syncAsUint16LE(v_##FIELD); \
+ if (s.isLoading()) FIELD = (TYPE)v_##FIELD;
/**
* Derived serialiser class with extra synchronisation types