From 1327b570e3aac6111ebdb3b233b9c60cdc12ee9f Mon Sep 17 00:00:00 2001 From: Ray Date: Sun, 8 Oct 2023 18:11:55 +0200 Subject: [PATCH] Update raylib_parser.c --- parser/raylib_parser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parser/raylib_parser.c b/parser/raylib_parser.c index 678b64d65d14..bdec4915a873 100644 --- a/parser/raylib_parser.c +++ b/parser/raylib_parser.c @@ -534,8 +534,8 @@ int main(int argc, char* argv[]) { // Found a valid number -> update largestType int numberType; - if (isFloat) numberType = valuePtr[c - 1] == 'f' ? FLOAT_MATH : DOUBLE_MATH; - else numberType = valuePtr[c - 1] == 'L' ? LONG_MATH : INT_MATH; + if (isFloat) numberType = (valuePtr[c - 1] == 'f')? FLOAT_MATH : DOUBLE_MATH; + else numberType = (valuePtr[c - 1] == 'L')? LONG_MATH : INT_MATH; if (numberType > largestType) largestType = numberType; }