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:32:15 +0000 (11:32 -0500)
Is currently unused. Triggers a compile error when used.

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

index f6a19662f650d4a3144e8530e78b525d73eaf0dd..fc991020cca26268c7d6e7b4d29b101ffe60b902 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.024756 seconds and 4 git commands to generate.