From 7903cc56583d38e6ff207c15fb37b22ef0a3064c Mon Sep 17 00:00:00 2001 From: Themaister Date: Sat, 11 May 2013 13:30:41 +0200 Subject: [PATCH] Fix warning. --- gfx/rpng/rpng.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/rpng/rpng.c b/gfx/rpng/rpng.c index 9475b333be..b82a42e697 100644 --- a/gfx/rpng/rpng.c +++ b/gfx/rpng/rpng.c @@ -314,7 +314,7 @@ bool rpng_load_image_argb(const char *path, uint32_t **data, unsigned *width, un bool ret = true; FILE *file = fopen(path, "rb"); if (!file) - return NULL; + return false; fseek(file, 0, SEEK_END); long file_len = ftell(file);