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 1f4b212 commit 0d90602Copy full SHA for 0d90602
utils.cpp
@@ -112,7 +112,7 @@ uint32_t htonf(float value)
112
float float32;
113
} helper;
114
115
- static_assert(sizeof(uint32_t) == sizeof(float));
+ static_assert(sizeof(uint32_t) == sizeof(float), "sizeof(uint32_t) != sizeof(float)");
116
117
helper.float32 = value;
118
return htonl(helper.uint32);
0 commit comments