From 7deaaa797cf8e7ca71e9b34fa6f413d1ed2b3dab Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Tue, 28 Mar 2006 01:21:00 +0000 Subject: Big old pile of warning fixes. --- mi/miarc.c | 6 +++--- mi/mioverlay.c | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'mi') diff --git a/mi/miarc.c b/mi/miarc.c index 1e51c5d59..f6abb3ba2 100644 --- a/mi/miarc.c +++ b/mi/miarc.c @@ -1,4 +1,4 @@ -/* $XdotOrg: xserver/xorg/mi/miarc.c,v 1.6 2005/07/03 08:53:51 daniels Exp $ */ +/* $XdotOrg: xserver/xorg/mi/miarc.c,v 1.7 2006/02/15 19:05:54 ajax Exp $ */ /* $XFree86: xc/programs/Xserver/mi/miarc.c,v 3.14 2003/10/29 22:57:48 tsi Exp $ */ /*********************************************************** @@ -112,12 +112,12 @@ ICEILTEMPDECL #endif #ifdef USE_INLINE -inline static const int max (const int x, const int y) +inline static int max (const int x, const int y) { return x>y? x:y; } -inline static const int min (const int x, const int y) +inline static int min (const int x, const int y) { return xdrawable.pScreen; WindowPtr pChild; miOverlayTreePtr pTree; Bool hasUnderlay; -- cgit v1.2.3