From f071d300320f74be4c6f25f4978f8e2c35fa6396 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Mon, 11 Sep 1995 22:00:16 +0000 Subject: [PATCH] Replace function declaration back to taking an int. SOCKET is defined as unsigned int under unix and this causes a prototype error git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6752 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/os/ChangeLog | 6 ++++++ src/lib/krb5/os/genaddrs.c | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index 6946431e7..e60779c41 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,3 +1,9 @@ +Mon Sep 11 17:46:18 1995 Ezra Peisach + + * genaddrs.c (krb5_auth_con_genaddrs): Replace function + declaration back to int instead of SOCKET due to prototype + mismatching. + Sun Sep 10 12:00:00 1995 James Mattly * ustime.c: use the version of getTimeZoneOffset in :os:crypto: for diff --git a/src/lib/krb5/os/genaddrs.c b/src/lib/krb5/os/genaddrs.c index d80817853..3260662c5 100644 --- a/src/lib/krb5/os/genaddrs.c +++ b/src/lib/krb5/os/genaddrs.c @@ -33,10 +33,10 @@ #endif krb5_error_code INTERFACE -krb5_auth_con_genaddrs(context, auth_context, fd, flags) +krb5_auth_con_genaddrs(context, auth_context, infd, flags) krb5_context context; krb5_auth_context auth_context; - SOCKET fd; + int infd; int flags; { krb5_error_code retval; @@ -44,6 +44,7 @@ krb5_auth_con_genaddrs(context, auth_context, fd, flags) krb5_address * lport; krb5_address * raddr; krb5_address * rport; + SOCKET fd = (SOCKET) infd; #ifdef KRB5_USE_INET struct sockaddr_in lsaddr, rsaddr; -- 2.26.2