diff options
Diffstat (limited to 'otherlibs/labltk/support/cltkImg.c')
-rw-r--r-- | otherlibs/labltk/support/cltkImg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/labltk/support/cltkImg.c b/otherlibs/labltk/support/cltkImg.c index 7f47760df..0a0fa17c5 100644 --- a/otherlibs/labltk/support/cltkImg.c +++ b/otherlibs/labltk/support/cltkImg.c @@ -90,7 +90,7 @@ camltk_setimgdata_native (value imgname, value pixmap, value x, value y, tk_error("no such image"); #endif - pib.pixelPtr = String_val(pixmap); + pib.pixelPtr = (unsigned char *)String_val(pixmap); pib.width = Int_val(w); pib.height = Int_val(h); pib.pitch = pib.width * 3; |