summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/afc.c2
1 files changed, 1 insertions, 1 deletions
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);