summaryrefslogtreecommitdiff
path: root/src/textures.c
diff options
context:
space:
mode:
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;
}