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 f6620a8 commit 0d23abbCopy full SHA for 0d23abb
include/util.h
@@ -64,7 +64,7 @@ extern "C" {
64
#define DOWNCAST(pointer, type, member) \
65
((type *)(((uint8_t *) pointer) - offsetof(type, member)))
66
67
-/* True of x is a power of two */
+/* True if x is a power of two */
68
#define POWER_OF_TWO(x) ((x) && !((x) & ((x) - 1)))
69
70
/* Macro to check if the value is in range */
0 commit comments