diff options
-rw-r--r-- | tools/firmware-utils/src/mkmerakifw-old.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/firmware-utils/src/mkmerakifw-old.c b/tools/firmware-utils/src/mkmerakifw-old.c index 01b9b31..05317c2 100644 --- a/tools/firmware-utils/src/mkmerakifw-old.c +++ b/tools/firmware-utils/src/mkmerakifw-old.c @@ -129,7 +129,7 @@ static void usage(int status) static void writel(unsigned char *buf, size_t offset, uint32_t value) { - value = htobe32(value); + value = htonl(value); memcpy(buf + offset, &value, sizeof(uint32_t)); } |