diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-05-24 01:17:52 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-05-24 01:17:52 +0000 |
commit | fdb36c69384c303762404e35fd9b6e3bd2af4026 (patch) | |
tree | 86cd3ca1bdd35d84665c53ea222696c73cd5a69d /usr.bin/mg | |
parent | e74d8b072185e392cec5cb5da995b4d2cb73512b (diff) |
no need to cast va_arg output
Diffstat (limited to 'usr.bin/mg')
-rw-r--r-- | usr.bin/mg/echo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mg/echo.c b/usr.bin/mg/echo.c index 860e415eeab..8b5ca1d6474 100644 --- a/usr.bin/mg/echo.c +++ b/usr.bin/mg/echo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: echo.c,v 1.12 2001/05/23 23:29:47 mickey Exp $ */ +/* $OpenBSD: echo.c,v 1.13 2001/05/24 01:17:51 mickey Exp $ */ /* * Echo line reading and writing. @@ -654,7 +654,7 @@ eformat(fp, ap) c = *fp++; switch (c) { case 'd': - eputl((long)va_arg(ap, long), 10); + eputl(va_arg(ap, long), 10); break; default: eputc(c); |