diff options
Diffstat (limited to 'src/nsimage.m')
-rw-r--r-- | src/nsimage.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nsimage.m b/src/nsimage.m index 5b2534b9007..6d1b3937f94 100644 --- a/src/nsimage.m +++ b/src/nsimage.m @@ -46,11 +46,11 @@ GNUstep port and post-20 update by Adrian Robert (arobert@cogsci.ucsd.edu) ========================================================================== */ void * -ns_image_from_XBM (unsigned char *bits, int width, int height, +ns_image_from_XBM (char *bits, int width, int height, unsigned long fg, unsigned long bg) { NSTRACE ("ns_image_from_XBM"); - return [[EmacsImage alloc] initFromXBM: bits + return [[EmacsImage alloc] initFromXBM: (unsigned char *) bits width: width height: height fg: fg bg: bg]; } |