[Scummvm-cvs-logs] scummvm master -> 2a2264dc61ef73d36519045e2ab26df027c01a14
somaen
einarjohants at gmail.com
Sat Apr 20 17:12:10 CEST 2013
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
2a2264dc61 WINTERMUTE: Use int32 in coll_templ.h
Commit: 2a2264dc61ef73d36519045e2ab26df027c01a14
https://github.com/scummvm/scummvm/commit/2a2264dc61ef73d36519045e2ab26df027c01a14
Author: Einar Johan Trøan Sømåen (einarjohants at gmail.com)
Date: 2013-04-20T08:11:09-07:00
Commit Message:
WINTERMUTE: Use int32 in coll_templ.h
Changed paths:
engines/wintermute/coll_templ.h
diff --git a/engines/wintermute/coll_templ.h b/engines/wintermute/coll_templ.h
index 6b96048..4a8e92c 100644
--- a/engines/wintermute/coll_templ.h
+++ b/engines/wintermute/coll_templ.h
@@ -64,7 +64,7 @@ template <typename TYPE>
class BaseArray : public BaseArrayBase<TYPE> {
public:
bool persist(BasePersistenceManager *persistMgr) {
- int j;
+ int32 j;
if (persistMgr->getIsSaving()) {
j = Common::Array<TYPE>::size();
persistMgr->transfer("ArraySize", &j);
@@ -90,7 +90,7 @@ template <>
class BaseArray<char *> : public BaseArrayBase<char *> {
public:
bool persist(BasePersistenceManager *persistMgr) {
- int j;
+ int32 j;
if (persistMgr->getIsSaving()) {
j = Common::Array<char *>::size();
persistMgr->transfer("ArraySize", &j);
@@ -116,7 +116,7 @@ template <>
class BaseArray<const char *> : public BaseArrayBase<const char *> {
public:
bool persist(BasePersistenceManager *persistMgr) {
- int j;
+ int32 j;
if (persistMgr->getIsSaving()) {
j = Common::Array<const char *>::size();
persistMgr->transfer("ArraySize", &j);
More information about the Scummvm-git-logs
mailing list