diff options
Diffstat (limited to 'src/libui_sdl/libui/unix/draw.c')
-rw-r--r-- | src/libui_sdl/libui/unix/draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libui_sdl/libui/unix/draw.c b/src/libui_sdl/libui/unix/draw.c index 72d4202..e55397e 100644 --- a/src/libui_sdl/libui/unix/draw.c +++ b/src/libui_sdl/libui/unix/draw.c @@ -163,7 +163,7 @@ uiDrawBitmap* uiDrawNewBitmap(uiDrawContext* c, int width, int height) void uiDrawBitmapUpdate(uiDrawBitmap* bmp, const void* data) { - unsigned char* src = data; + const unsigned char* src = data; unsigned char* dst = cairo_image_surface_get_data(bmp->bmp); if (bmp->Stride == bmp->Width*4) |