aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/cryo/CryoLib.h12
-rw-r--r--engines/cryo/defs.h2
2 files changed, 7 insertions, 7 deletions
diff --git a/engines/cryo/CryoLib.h b/engines/cryo/CryoLib.h
index 628ba29a42..ec06320132 100644
--- a/engines/cryo/CryoLib.h
+++ b/engines/cryo/CryoLib.h
@@ -34,15 +34,15 @@ extern short __debug, __libError, __osError;
#define CLNoError __libError = 0;
#define CLCheckError() if(__debug && __libError){ \
- char buffer[260]; \
- sprintf(buffer, "File %s at line %d, with __libError = %d and __osError = %d", __FILE__, __LINE__, __libError, __osError); \
- DebugStr(c2pstr(buffer)); \
+ char buffer_[260]; \
+ sprintf(buffer_, "File %s at line %d, with __libError = %d and __osError = %d", __FILE__, __LINE__, __libError, __osError); \
+ DebugStr(c2pstr(buffer_)); \
};
#define CLAssert(x) if(!(x)) { \
- char buffer[260]; \
- sprintf(buffer, "File %s at line %d, with __libError = %d and __osError = %d", __FILE__, __LINE__, __libError, __osError); \
- DebugStr(c2pstr(buffer)); \
+ char buffer_[260]; \
+ sprintf(buffer_, "File %s at line %d, with __libError = %d and __osError = %d", __FILE__, __LINE__, __libError, __osError); \
+ DebugStr(c2pstr(buffer_)); \
};
struct rect_t {
diff --git a/engines/cryo/defs.h b/engines/cryo/defs.h
index ed6fff2f0a..3400c23e80 100644
--- a/engines/cryo/defs.h
+++ b/engines/cryo/defs.h
@@ -101,7 +101,7 @@ enum OBJECT {
OBJ_PLAQUE, // 38
OBJ_39,
OBJ_40,
- OBJ_41,
+ OBJ_41
};
namespace Objects {