diff --git a/src/libs/tools.h b/src/libs/tools.h index 2e1239d..ccb477b 100644 --- a/src/libs/tools.h +++ b/src/libs/tools.h @@ -45,7 +45,7 @@ #define UNUSED __attribute__((unused)) -INLINE char *bool_to_string(bool flag) { +INLINE const char *bool_to_string(bool flag) { return (flag ? "true" : "false"); }