diff options
Diffstat (limited to 'dev/main.c')
-rw-r--r-- | dev/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -167,8 +167,8 @@ int main(int argc, char *argv[]) } if (AFC_E_SUCCESS == - afc_file_open(afc, "/readme.libiphone.fx", AFC_FOPEN_RDONLY, &my_file) && my_file) { - printf("A file size: %llu\n", fsize); + afc_open_file(afc, "/readme.libiphone.fx", AFC_FOPEN_RDONLY, &my_file) && my_file) { + printf("A file size: %llu\n", (long long)fsize); char *file_data = (char *) malloc(sizeof(char) * fsize); afc_file_read(afc, my_file, file_data, fsize, &bytes); if (bytes > 0) { |