We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff5686f commit 67ba032Copy full SHA for 67ba032
src/libmodbus/modbus-data.c
@@ -23,7 +23,7 @@
23
#define htonl(x) bswap_32(x)
24
#define htons(x) bswap_16(x)
25
#define ntohl(x) bswap_32(x)
26
-#define ntohs(x) bswap_32(x)
+#define ntohs(x) bswap_16(x)
27
#else
28
#define htonl(x) (x)
29
#define htons(x) (x)
0 commit comments