397 |
|
windowName.encoding = iconName.encoding = XA_STRING; |
398 |
|
windowName.format = iconName.format = 8; |
399 |
|
windowName.value = (u_char *)name; |
400 |
< |
windowName.nitems = strlen(windowName.value); |
400 |
> |
windowName.nitems = strlen((char *)windowName.value); |
401 |
|
iconName.value = (u_char *)name; |
402 |
< |
iconName.nitems = strlen(windowName.value); |
402 |
> |
iconName.nitems = strlen((char *)windowName.value); |
403 |
|
|
404 |
|
xclshints.res_name = NULL; |
405 |
|
xclshints.res_class = "Ximage"; |
571 |
|
ourdata = (unsigned char *)malloc(ymax*((xmax+7)/8)); |
572 |
|
if (ourdata == NULL) |
573 |
|
goto fail; |
574 |
< |
ourras = make_raster(thedisplay, &ourvis, 1, ourdata, |
574 |
> |
ourras = make_raster(thedisplay, &ourvis, 1, (char *)ourdata, |
575 |
|
xmax, ymax, 8); |
576 |
|
if (ourras == NULL) |
577 |
|
goto fail; |
582 |
|
if (ourdata == NULL) |
583 |
|
goto fail; |
584 |
|
ourras = make_raster(thedisplay, &ourvis, datsiz*8, |
585 |
< |
ourdata, xmax, ymax, datsiz*8); |
585 |
> |
(char *)ourdata, xmax, ymax, datsiz*8); |
586 |
|
if (ourras == NULL) |
587 |
|
goto fail; |
588 |
|
getfull(); |
590 |
|
ourdata = (unsigned char *)malloc(xmax*ymax); |
591 |
|
if (ourdata == NULL) |
592 |
|
goto fail; |
593 |
< |
ourras = make_raster(thedisplay, &ourvis, 8, ourdata, |
593 |
> |
ourras = make_raster(thedisplay, &ourvis, 8, (char *)ourdata, |
594 |
|
xmax, ymax, 8); |
595 |
|
if (ourras == NULL) |
596 |
|
goto fail; |