Skip to content
Browse files

Avoid an Xcode warning

  • Loading branch information...
1 parent 7b25216 commit ef5ef60717c4d72f8f9f4cb053a569121ab61d2d @andrewschaaf andrewschaaf committed Jan 31, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 RSUtil.c
View
2 RSUtil.c
@@ -62,7 +62,7 @@ void* RSReadFileOrDie(char *path, uint32_t *size) {
if(fseek(file, 0, SEEK_END) != 0) {
RSFatalError("fseek");
}
- *size = ftell(file);
+ *size = (uint32_t)ftell(file);
if (fseek(file, 0, SEEK_SET) != 0) {
RSFatalError("fseek");
}

0 comments on commit ef5ef60

Please sign in to comment.
Something went wrong with that request. Please try again.