diff options
author | Arisotura <thetotalworm@gmail.com> | 2019-05-05 04:16:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-05 04:16:22 +0200 |
commit | fdd20c48ed62b9410292097f0ee2ad53f5c3109c (patch) | |
tree | 26f839568ed089ad5eb34a139f9069c08b16195a /src/libui_sdl/libui/unix/draw.c | |
parent | 85b3bdebd1258a13b3d28eeff5a7eef2d22fb5d9 (diff) | |
parent | f91eb18152e7bb84a402255d283a546f4dc95ce8 (diff) |
Merge pull request #400 from ccawley2011/write-strings
Fix all -Wwrite-strings warnings
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) |