Fix: missing parenthesis in offset_align_floor
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 16 Jan 2015 16:30:44 +0000 (11:30 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 16 Jan 2015 16:30:44 +0000 (11:30 -0500)
Is currently unused. Triggers a compile error when used.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/babeltrace/align.h

index 4f6a301ed9afeb5a9d33d7dd4551a7dfc9e813a7..67ece4dd642fc14e60d5858a21c00231d3a92f70 100644 (file)
@@ -76,7 +76,7 @@
        ({                                                                     \
                MAYBE_BUILD_BUG_ON((alignment) == 0                            \
                                   || ((alignment) & ((alignment) - 1)));      \
-               (((align_drift) - (alignment)) & ((alignment) - 1)           \
+               (((align_drift) - (alignment)) & ((alignment) - 1));           \
        })
 
 #endif /* _BABELTRACE_ALIGN_H */
This page took 0.025276 seconds and 4 git commands to generate.