From 87cba8cf076d7441123a25ed7079690e399dcc61 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Wed, 1 Sep 2010 22:31:23 +0200 Subject: afc: fix reading of afc status codes on big endian machines --- src/afc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/afc.c') diff --git a/src/afc.c b/src/afc.c index 93131e1..825ccd4 100644 --- a/src/afc.c +++ b/src/afc.c @@ -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); -- cgit v1.1-32-gdbae