mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-17 09:48:12 +00:00
WINTERMUTE: Use int32 in coll_templ.h
This commit is contained in:
parent
24b0b6aa43
commit
2a2264dc61
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user