diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 2001-12-25 08:10:34 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 2001-12-25 08:10:34 +0000 |
| commit | 4cc31e55f5dd28425f53d07fb688ab9ce3e2c13f (patch) | |
| tree | d7785eb5f9ca13bbd93c5a48be209c8d9c4b84c9 | |
| parent | 586cd03a192bf2bdb34c5ed4716de04543085fec (diff) | |
Notes
| -rw-r--r-- | bin/test/test.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/test/test.c b/bin/test/test.c index b88085c09567..bcb85d18a093 100644 --- a/bin/test/test.c +++ b/bin/test/test.c @@ -181,7 +181,7 @@ static int binop __P((void)); static int equalf __P((const char *, const char *)); static int filstat __P((char *, enum token)); static int getn __P((const char *)); -static quad_t getq __P((const char *)); +static long long getq __P((const char *)); static int intcmp __P((const char *, const char *)); static int isoperand __P((void)); int main __P((int, char **)); @@ -491,15 +491,15 @@ getn(s) } /* atoi with error detection and 64 bit range */ -static quad_t +static long long getq(s) const char *s; { char *p; - quad_t r; + long long r; errno = 0; - r = strtoq(s, &p, 10); + r = strtoll(s, &p, 10); if (s == p) error("%s: bad number", s); @@ -521,7 +521,7 @@ static int intcmp (s1, s2) const char *s1, *s2; { - quad_t q1, q2; + long long q1, q2; q1 = getq(s1); |
