Revision: 3703 Author: nice Date: 2016-05-06 13:22:49 -0700 (Fri, 06 May 2016) Log Message: ----------- Suppress a warning relative to const-ness
Modified Paths: -------------- branches/Cog/platforms/Mac OS/vm/sqMacUnixExternalPrims.c
Modified: branches/Cog/platforms/Mac OS/vm/sqMacUnixExternalPrims.c =================================================================== --- branches/Cog/platforms/Mac OS/vm/sqMacUnixExternalPrims.c 2016-05-06 19:06:49 UTC (rev 3702) +++ branches/Cog/platforms/Mac OS/vm/sqMacUnixExternalPrims.c 2016-05-06 20:22:49 UTC (rev 3703) @@ -131,7 +131,7 @@ handle= dlopen(libName, RTLD_NOW | RTLD_GLOBAL); if (handle == 0) { - char* why; + const char* why; if (dlerror == NULL) why = dlerrorSqueak(); else @@ -225,7 +225,7 @@ else handle= dlopen(0, RTLD_NOW | RTLD_GLOBAL); if (handle == 0) { - char *why; + const char *why; if (dlerror == NULL) why = dlerrorSqueak(); else @@ -421,7 +421,7 @@ && strcmp(lookupName, "shutdownModule") && strcmp(lookupName, "setInterpreter") && strcmp(lookupName, "getModuleName")) { - char *why; + const char *why; if (dlerror == NULL) why = dlerrorSqueak(); else @@ -468,7 +468,7 @@ if (results) { - char* why; + const char* why; if (dlerror == NULL) why = dlerrorSqueak(); else
vm-dev@lists.squeakfoundation.org