From 58d940fbb303cc16549f913e33429362760132de Mon Sep 17 00:00:00 2001 From: Paulo Cesar Pereira de Andrade Date: Sun, 16 Mar 2008 19:02:31 -0300 Subject: Compile warning fixes. Use constant octals instead of constant characters in switch case values to avoid warnings/problems if constant characters are signed. Ansify some functions in utils.c. Signed-off-by: Peter Breitenlohner --- psgeom.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'psgeom.c') diff --git a/psgeom.c b/psgeom.c index 3901917..38c432e 100644 --- a/psgeom.c +++ b/psgeom.c @@ -1389,10 +1389,10 @@ int eG,nG,gI,l,g; switch (buf[0]) { case '.': case ':': case ',': case ';': case '\'': case '"': case '`': case '~': - case '^': case '\250': case '\270': case '\267': - case '\260': case '\252': case '\272': case '\271': - case '\262': case '\263': case '\264': case '\255': - case '\254': case '\257': + case '^': case 0250: case 0270: case 0267: + case 0260: case 0252: case 0272: case 0271: + case 0262: case 0263: case 0264: case 0255: + case 0254: case 0257: top->size[(g*2)+l]= SZ_LARGE; break; } -- cgit v1.2.3