From 281f567d97fc672ad7bf77a6fd2b1565f84ab7e8 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Sat, 19 May 2018 11:10:09 +0200 Subject: [PATCH] Add proper usage of const. --- m-tuple.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m-tuple.h b/m-tuple.h index 0ea7f418..7b6be0e2 100644 --- a/m-tuple.h +++ b/m-tuple.h @@ -74,7 +74,7 @@ /* Return an array suitable for the _cmp_order function */ #define TUPLE_ORDER(name, ...) \ - ( (int[]) {M_MAP2_C(TUPLE_ORDER_CONVERT, name, __VA_ARGS__), 0}) + ( (const int[]) {M_MAP2_C(TUPLE_ORDER_CONVERT, name, __VA_ARGS__), 0}) /********************************** INTERNAL ************************************/