diff options
author | Jonathan Beck | 2008-11-25 19:14:27 +0100 |
---|---|---|
committer | Jonathan Beck | 2008-11-25 19:14:27 +0100 |
commit | aed2c025f6e47dc769675e564cc574adc496a88a (patch) | |
tree | 6cb14e4c511dabc40fdf6c24714a2be48567f847 /dev/main.c | |
parent | 0bca81e7c8ce5ba53390271e5c7eaa7a5f281c91 (diff) | |
download | libplist-aed2c025f6e47dc769675e564cc574adc496a88a.tar.gz libplist-aed2c025f6e47dc769675e564cc574adc496a88a.tar.bz2 |
fix some warnings and indent
Diffstat (limited to 'dev/main.c')
-rw-r--r-- | dev/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -87,7 +87,7 @@ int main(int argc, char *argv[]) iphone_afc_get_file_attr(afc, "/iTunesOnTheGoPlaylist.plist", &stbuf); if (IPHONE_E_SUCCESS == iphone_afc_open_file(afc, "/iTunesOnTheGoPlaylist.plist", IPHONE_AFC_FILE_READ, &my_file) && my_file) { - printf("A file size: %i\n", stbuf.st_size); + printf("A file size: %i\n", (int) stbuf.st_size); char *file_data = (char *) malloc(sizeof(char) * stbuf.st_size); iphone_afc_read_file(afc, my_file, file_data, stbuf.st_size, &bytes); if (bytes >= 0) { |