Nobody commit these yet again? Something wrong with them? This fix crash & compile on MSVC
Index: lib/ivis_common/pcx.c =================================================================== --- lib/ivis_common/pcx.c (revision 1162) +++ lib/ivis_common/pcx.c (working copy) @@ -27,8 +27,7 @@ #include "ivispatch.h" -static const size_t PNG_BYTES_TO_CHECK = 4; - +#define PNG_BYTES_TO_CHECK 4 static void wzpng_read_data(png_structp ctx, png_bytep area, png_size_t size) { Index: src/gateway.c =================================================================== --- src/gateway.c (revision 1162) +++ src/gateway.c (working copy) @@ -130,6 +130,7 @@ if (aZoneReachable != NULL) { free(aZoneReachable); + aZoneReachable=NULL; } } @@ -1058,6 +1059,7 @@ if (aNumEquiv) { free(aNumEquiv); + aNumEquiv=NULL; } if (apEquivZones) { @@ -1069,6 +1071,7 @@ } } free(apEquivZones); + apEquivZones=NULL; } gwNumZones = 0; } -- Are you a homeowner in debt? Need cash now? Click here to refinance your mortgage. http://tagline.hushmail.com/fc/CAaCXv1QYGJm5EmL4cL67X0SzmMDG24c/ _______________________________________________ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev