diff options
author | Nikias Bassen | 2010-09-01 22:31:23 +0200 |
---|---|---|
committer | Martin Szulecki | 2010-10-04 00:37:26 +0200 |
commit | 8527540127a97b2f5364987771aeb2400365c9fa (patch) | |
tree | 0764ed86baa439f81829b3e4768360e1b9f5bb99 /src/afc.c | |
parent | 79f05179a4ac8b5d9a19d47993370f8508032319 (diff) | |
download | libimobiledevice-8527540127a97b2f5364987771aeb2400365c9fa.tar.gz libimobiledevice-8527540127a97b2f5364987771aeb2400365c9fa.tar.bz2 |
afc: fix reading of afc status codes on big endian machines
Diffstat (limited to 'src/afc.c')
-rw-r--r-- | src/afc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -334,7 +334,7 @@ static afc_error_t afc_receive_data(afc_client_t client, char **dump_here, uint3 } if (current_count >= sizeof(uint64_t)) { - param1 = *(uint64_t*)(*dump_here); + param1 = GUINT64_FROM_LE(*(uint64_t*)(*dump_here)); } debug_info("packet data size = %i", current_count); |