diff options
| author | 2010-09-01 22:31:23 +0200 | |
|---|---|---|
| committer | 2010-09-01 22:31:23 +0200 | |
| commit | 87cba8cf076d7441123a25ed7079690e399dcc61 (patch) | |
| tree | 8767f521b6ae72e1add518ce7b95510e05c4fc5b | |
| parent | fdf111f87feac01ff366b8ac18f1df8262006bcd (diff) | |
| download | libimobiledevice-87cba8cf076d7441123a25ed7079690e399dcc61.tar.gz libimobiledevice-87cba8cf076d7441123a25ed7079690e399dcc61.tar.bz2  | |
afc: fix reading of afc status codes on big endian machines
| -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);  | 
