summaryrefslogtreecommitdiff
path: root/src/textures.c
diff options
context:
space:
mode:
authorjussi2024-07-06 01:03:02 +0300
committerjussi2024-07-06 01:03:02 +0300
commit528f3f3d822c8e9d3e72228cf5d7fc3d4daae483 (patch)
tree9a122a3a3ed92b33e372fb53dc8e9717ecb7bd01 /src/textures.c
parent61c932f2605aac5a8fef4264087e9ea8f86c6760 (diff)
downloadreilua-enhanced-528f3f3d822c8e9d3e72228cf5d7fc3d4daae483.tar.gz
reilua-enhanced-528f3f3d822c8e9d3e72228cf5d7fc3d4daae483.tar.bz2
reilua-enhanced-528f3f3d822c8e9d3e72228cf5d7fc3d4daae483.zip
Raymath *Equals functions return bool instead of int.
Diffstat (limited to 'src/textures.c')
-rw-r--r--src/textures.c2
1 files changed, 1 insertions, 1 deletions
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;
}