diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-05-01 22:14:49 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-05-01 22:14:49 +0000 |
commit | 99fe622cd1f484b14494b5c794da01c76f6d5ebf (patch) | |
tree | e88697b9105a5734786de99e04508ceff0cf7b8c /usr.sbin/ypserv/common | |
parent | 226bc76e46721ef41afc2d64403fc5da09fc6ac2 (diff) |
Umm, fix signedness error in my last commit, be explicit
about the fact that ordernumbers are 32 bit
Diffstat (limited to 'usr.sbin/ypserv/common')
-rw-r--r-- | usr.sbin/ypserv/common/yplib_host.c | 6 | ||||
-rw-r--r-- | usr.sbin/ypserv/common/yplib_host.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/ypserv/common/yplib_host.c b/usr.sbin/ypserv/common/yplib_host.c index de4d0c551f1..7989643d132 100644 --- a/usr.sbin/ypserv/common/yplib_host.c +++ b/usr.sbin/ypserv/common/yplib_host.c @@ -1,4 +1,4 @@ -/* $OpenBSD: yplib_host.c,v 1.5 1996/05/30 09:53:02 deraadt Exp $ */ +/* $OpenBSD: yplib_host.c,v 1.6 1997/05/01 22:14:44 niklas Exp $ */ /* * Copyright (c) 1992, 1993 Theo de Raadt <deraadt@theos.com> @@ -32,7 +32,7 @@ */ #ifndef LINT -static char *rcsid = "$OpenBSD: yplib_host.c,v 1.5 1996/05/30 09:53:02 deraadt Exp $"; +static char *rcsid = "$OpenBSD: yplib_host.c,v 1.6 1997/05/01 22:14:44 niklas Exp $"; #endif #include <sys/param.h> @@ -319,7 +319,7 @@ yp_order_host(client, indomain, inmap, outorder) CLIENT *client; char *indomain; char *inmap; -int *outorder; +u_int32_t *outorder; { struct ypresp_order ypro; struct ypreq_nokey yprnk; diff --git a/usr.sbin/ypserv/common/yplib_host.h b/usr.sbin/ypserv/common/yplib_host.h index 521380101b0..814315d79c1 100644 --- a/usr.sbin/ypserv/common/yplib_host.h +++ b/usr.sbin/ypserv/common/yplib_host.h @@ -1,4 +1,4 @@ -/* $OpenBSD: yplib_host.h,v 1.3 1996/05/30 09:53:03 deraadt Exp $ */ +/* $OpenBSD: yplib_host.h,v 1.4 1997/05/01 22:14:45 niklas Exp $ */ /* * Copyright (c) 1992, 1993 Theo de Raadt <deraadt@theos.com> @@ -46,7 +46,7 @@ int yp_next_host __P((CLIENT *client, char *indomain, char *inmap, int yp_master_host __P((CLIENT *client, char *indomain, char *inmap, char **outname)); int yp_order_host __P((CLIENT *client, - char *indomain, char *inmap, int *outorder)); + char *indomain, char *inmap, u_int32_t *outorder)); int yp_all_host __P((CLIENT *client, char *indomain, char *inmap, struct ypall_callback *incallback)); int yp_maplist_host __P((CLIENT *client, char *indomain, |