ErrorStatus = AGetImagePixels(image, width, height, &pmap,
storePixel);
# endif /* AMIGA */
+#else
+#ifndef __VISAGECPP30__
ErrorStatus = MSWGetImagePixels(display, image, width, height, &pmap,
storePixel);
+#endif
#endif
return (XpmNoMemory);
for (i = 0, i2 = mask, color = colors, xcolor = xcolors;
- i < ncolors; i++, i2++, color++, xcolor++, pixels++) {
+ i < (unsigned)ncolors; i++, i2++, color++, xcolor++, pixels++) {
if (!(s = color->string = (char *) XpmMalloc(cpp + 1))) {
XpmFree(xcolors);
}
/* end 3.2 bc */
- for (i = 0, color = colors, xcolor = xcolors; i < ncolors;
+ for (i = 0, color = colors, xcolor = xcolors; i < (unsigned)ncolors;
i++, color++, xcolor++) {
/* look for related info from the attributes if any */