diff options
| author | dholland <dholland@NetBSD.org> | 2009-07-26 03:05:52 +0000 |
|---|---|---|
| committer | dholland <dholland@NetBSD.org> | 2009-07-26 03:05:52 +0000 |
| commit | 2c922baaa93dfa561986acace5008e7d78d8c1fb (patch) | |
| tree | b47b349abbf7aca22473cd41b7a322d0b723b33b /pom/pom.c | |
| parent | 6ee975e21fcf991ef591682630e1259efc1e2d46 (diff) | |
| download | bsdgames-darwin-2c922baaa93dfa561986acace5008e7d78d8c1fb.tar.gz bsdgames-darwin-2c922baaa93dfa561986acace5008e7d78d8c1fb.zip | |
Remove the need for -Wno-pointer-sign. Object file unchanged.
Diffstat (limited to 'pom/pom.c')
| -rw-r--r-- | pom/pom.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,4 +1,4 @@ -/* $NetBSD: pom.c,v 1.17 2008/07/20 01:03:22 lukem Exp $ */ +/* $NetBSD: pom.c,v 1.18 2009/07/26 03:05:52 dholland Exp $ */ /* * Copyright (c) 1989, 1993 @@ -41,7 +41,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 1993\ #if 0 static char sccsid[] = "@(#)pom.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: pom.c,v 1.17 2008/07/20 01:03:22 lukem Exp $"); +__RCSID("$NetBSD: pom.c,v 1.18 2009/07/26 03:05:52 dholland Exp $"); #endif #endif /* not lint */ @@ -214,10 +214,10 @@ parsetime(char *p) int bigyear; int yearset = 0; time_t tval; - unsigned char *t; + char *t; for (t = p; *t; ++t) { - if (isdigit(*t)) + if (isdigit((unsigned char) *t)) continue; badformat(); } |
