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