diff options
Diffstat (limited to 'usr.sbin/ypserv/makedbm/db.c')
-rw-r--r-- | usr.sbin/ypserv/makedbm/db.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ypserv/makedbm/db.c b/usr.sbin/ypserv/makedbm/db.c index 368a53d3a9a..b32ac5a15e1 100644 --- a/usr.sbin/ypserv/makedbm/db.c +++ b/usr.sbin/ypserv/makedbm/db.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db.c,v 1.2 2001/10/24 14:40:00 deraadt Exp $ */ +/* $OpenBSD: db.c,v 1.3 2002/02/13 23:05:48 deraadt Exp $ */ /* * Copyright (c) 1997 Mats O Jansson <moj@stacken.kth.se> @@ -32,7 +32,7 @@ */ #ifndef LINT -static char rcsid[] = "$OpenBSD: db.c,v 1.2 2001/10/24 14:40:00 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: db.c,v 1.3 2002/02/13 23:05:48 deraadt Exp $"; #endif #include <sys/types.h> @@ -63,8 +63,8 @@ char *database; status = db->seq(db, &key, &val, R_FIRST); while (status == 0) { printf("%*.*s %*.*s\n", - key.size-1, key.size-1, key.data, - val.size-1, val.size-1, val.data); + (int)key.size-1, (int)key.size-1, (char *)key.data, + (int)val.size-1, (int)val.size-1, (char *)val.data); status = db->seq(db, &key, &val, R_NEXT); } db->close(db); |