Fix warning.

This commit is contained in:
Themaister 2013-05-11 13:30:41 +02:00
parent 50b9248624
commit 7903cc5658

View File

@ -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);