Skip to content

Commit d9a4878

Browse files
committed
Fix compilation warning in ringbuffer type
1 parent b001a90 commit d9a4878

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/ringbuffer.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
} \
7878
\
7979
__attribute__((unused)) static inline void type_name_##_put_copy( \
80-
struct type_name_ *rb, const element_type_ e) \
80+
struct type_name_ *rb, element_type_ e) \
8181
{ \
8282
assert(!type_name_##_full(rb)); \
8383
rb->array[type_name_##_mask(rb->write++)] = e; \

0 commit comments

Comments
 (0)