From 0c89fa0c347159dc4519860fd80bde5ecb84a461 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Wed, 15 May 2002 09:20:06 +0000 Subject: [PATCH] Unbreak Alpha build. --- usr.sbin/rpc.yppasswdd/yppasswdd_server.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr.sbin/rpc.yppasswdd/yppasswdd_server.c b/usr.sbin/rpc.yppasswdd/yppasswdd_server.c index 1025ba5b4760..21f3895e9336 100644 --- a/usr.sbin/rpc.yppasswdd/yppasswdd_server.c +++ b/usr.sbin/rpc.yppasswdd/yppasswdd_server.c @@ -363,7 +363,8 @@ update_inplace(struct passwd *pw, char *domain) strlen(pw->pw_name))) { yp_error("warning: found entry for UID %d \ in map %s@%s with wrong name (%.*s)", pw->pw_uid, maps[i], domain, - ptr - (char *)data.data, (char *)data.data); + (int)(ptr - (char *)data.data), + (char *)data.data); yp_error("there may be more than one user \ with the same UID - continuing"); continue;