Correct syntax

This commit is contained in:
Patrick Pelissier committed 2023-04-11 21:32:38 +02:00
1 parent 6bcd51f10f
commit 25a2eb0875
1 file changed
+1 -1
+1 -1
View File
@@ -2690,7 +2690,7 @@ m_core_parse_bool (bool *ptr, const char str[], const char **endptr)
char c = *str++;
*ptr = (c == '1');
if (endptr != NULL) { *endptr = str; }
return (c == '0' || c == '1');
return (c == '0') || (c == '1');
}
#define M_PARSE_DEFAULT_TYPE_DEF(name, type, parse_func, extra_arg) \