summaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2018-12-20 22:53:08 +0100
committerDizzyEggg <jajkodizzy@wp.pl>2018-12-20 22:53:08 +0100
commitecee02816d475f012dd4eec8a59b9ad3ba9ab531 (patch)
tree5eb0cdad91aeba20866a731033d76add878c3ec4 /src/window.c
parent7dcb614cca6d61c5e51960826dddc004858ed9f1 (diff)
parent6ef96717181dfa1cda548cbe405410aba065e41c (diff)
Merge with master
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c
index 5ae6c7509..aa1df3a12 100644
--- a/src/window.c
+++ b/src/window.c
@@ -674,7 +674,7 @@ void BlitBitmapRectToWindow4BitTo8Bit(u8 windowId, const u8 *pixels, u16 srcX, u
struct Bitmap sourceRect;
struct Bitmap destRect;
- sourceRect.pixels = pixels;
+ sourceRect.pixels = (u8*) pixels;
sourceRect.width = srcWidth;
sourceRect.height = srcHeight;