@@ -3265,7 +3265,7 @@ void MCCard::draw(MCDC *dc, const MCRectangle& dirty, bool p_isolated)
32653265// SAVING AND LOADING
32663266//
32673267
3268- IO_stat MCCard::extendedload (MCObjectInputStream& p_stream, const char * p_version, uint4 p_length)
3268+ IO_stat MCCard::extendedload (MCObjectInputStream& p_stream, uint32_t p_version, uint4 p_length)
32693269{
32703270 return defaultextendedload (p_stream, p_version, p_length);
32713271}
@@ -3275,7 +3275,7 @@ IO_stat MCCard::extendedsave(MCObjectOutputStream& p_stream, uint4 p_part)
32753275 return defaultextendedsave (p_stream, p_part);
32763276}
32773277
3278- IO_stat MCCard::load (IO_handle stream, const char * version)
3278+ IO_stat MCCard::load (IO_handle stream, uint32_t version)
32793279{
32803280 IO_stat stat;
32813281
@@ -3285,7 +3285,7 @@ IO_stat MCCard::load(IO_handle stream, const char *version)
32853285// ---- 2.7+:
32863286// . F_OPAQUE is now valid - default true
32873287// . ink is now valid - default GXcopy
3288- if (strncmp ( version, " 2.7 " , 3 ) < 0 )
3288+ if (version < 2700 )
32893289 {
32903290 flags |= F_OPAQUE;
32913291 ink = GXcopy;
@@ -3320,7 +3320,7 @@ IO_stat MCCard::load(IO_handle stream, const char *version)
33203320 return IO_NORMAL;
33213321}
33223322
3323- IO_stat MCCard::loadobjects (IO_handle stream, const char * version)
3323+ IO_stat MCCard::loadobjects (IO_handle stream, uint32_t version)
33243324{
33253325 IO_stat stat = IO_NORMAL;
33263326
0 commit comments