diff libcore/core/maths.c @ 135:eadfed7674ac

misc: fix all warnings
author David Demelier <markand@malikania.fr>
date Sun, 11 Oct 2020 15:01:26 +0200
parents 789b23e01f52
children 9733d379be89
line wrap: on
line diff
--- a/libcore/core/maths.c	Sun Oct 11 14:54:27 2020 +0200
+++ b/libcore/core/maths.c	Sun Oct 11 15:01:26 2020 +0200
@@ -23,8 +23,8 @@
 {
 	return px >= x &&
 	       py >= y &&
-	       px <= x + w &&
-	       py <= y + h;
+	       px <= x + (int)w &&
+	       py <= y + (int)h;
 }
 
 void