summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gfx_func.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gfx_func.h b/src/gfx_func.h
index 44f5e5059..99461f907 100644
--- a/src/gfx_func.h
+++ b/src/gfx_func.h
@@ -149,7 +149,7 @@ bool FillDrawPixelInfo(DrawPixelInfo *n, int left, int top, int width, int heigh
* @param size The height or width of the object to draw.
* @return Offset of where to start drawing the object.
*/
-static inline int CenterBounds(int min, int max, uint size)
+static inline int CenterBounds(int min, int max, int size)
{
return min + (max - min - size + 1) / 2;
}