summaryrefslogtreecommitdiffstats
path: root/usr.sbin/xntpd/lib/inttoa.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/xntpd/lib/inttoa.c')
-rw-r--r--usr.sbin/xntpd/lib/inttoa.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/xntpd/lib/inttoa.c b/usr.sbin/xntpd/lib/inttoa.c
index 25ce26c..ff886f5 100644
--- a/usr.sbin/xntpd/lib/inttoa.c
+++ b/usr.sbin/xntpd/lib/inttoa.c
@@ -1,4 +1,4 @@
-/* inttoa.c,v 3.1 1993/07/06 01:08:25 jbj Exp
+/*
* inttoa - return an asciized signed integer
*/
#include <stdio.h>
@@ -8,12 +8,12 @@
char *
inttoa(ival)
- LONG ival;
+ long ival;
{
register char *buf;
LIB_GETBUF(buf);
- (void) sprintf(buf, "%ld", ival);
+ (void) sprintf(buf, "%ld", (long)ival);
return buf;
}
OpenPOWER on IntegriCloud