From 9aa106d575444d50ed8838205657145efc751034 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Fri, 15 Mar 2019 00:38:34 -0400 Subject: Turn on -Wpedantic --- cards.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cards.c') diff --git a/cards.c b/cards.c index 6369d40..2e8ab20 100644 --- a/cards.c +++ b/cards.c @@ -24,7 +24,7 @@ static struct SDL_Surface * dibSurface(struct SDL_RWops *rw, Uint32 offset, Uint32 length) { Uint32 bitmapLength = 0x0E + length; - void *buffer = malloc(bitmapLength); + Uint8 *buffer = malloc(bitmapLength); if (!buffer) { SDL_SetError("malloc error: %s", strerror(errno)); return NULL; -- cgit 1.4.1