From 528f3f3d822c8e9d3e72228cf5d7fc3d4daae483 Mon Sep 17 00:00:00 2001 From: jussi Date: Sat, 6 Jul 2024 01:03:02 +0300 Subject: Raymath *Equals functions return bool instead of int. --- src/textures.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/textures.c') diff --git a/src/textures.c b/src/textures.c index a5189b1..9d7221a 100644 --- a/src/textures.c +++ b/src/textures.c @@ -1897,7 +1897,7 @@ Returns hexadecimal value for a Color int ltexturesColorToInt( lua_State* L ) { Color color = uluaGetColor( L, 1 ); - lua_pushinteger( L, ColorToInt( color ) ); + lua_pushinteger( L, (unsigned int)ColorToInt( color ) ); return 1; } -- cgit v1.2.3