commit | 7b3346be42d6a1f539e95d385ee498f8b3c529f8 | [log] [tgz] |
---|---|---|
author | Wichert Akkerman <wichert@deephackmode.org> | Tue Oct 09 23:47:38 2001 +0000 |
committer | Wichert Akkerman <wichert@deephackmode.org> | Tue Oct 09 23:47:38 2001 +0000 |
tree | 91de623a9ac7b6bb5d7214070129959ac1c70f52 | |
parent | a2278146b07066567521617158c5284a585668c9 [diff] [blame] |
Import lots of ia64 related changes from David Mosberger
diff --git a/resource.c b/resource.c index 75e0bd8..3de9fba 100644 --- a/resource.c +++ b/resource.c
@@ -167,9 +167,9 @@ if (lim == RLIM64_INFINITY) sprintf(buf, "RLIM64_INFINITY"); else if (lim > 1024 && lim%1024 == 0) - sprintf(buf, "%lld*1024", lim/1024); + sprintf(buf, "%lld*1024", (long long) lim/1024); else - sprintf(buf, "%lld", lim); + sprintf(buf, "%lld", (long long) lim); return buf; }