From: Ted Lemon Date: Sun, 2 Jan 2000 22:21:23 +0000 (+0000) Subject: Fix linux-specific casting error. X-Git-Tag: V3-BETA-2-PATCH-1~484 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e48c5c5cc14b5dd0176efb598644f2f0f4fbce06;p=thirdparty%2Fdhcp.git Fix linux-specific casting error. --- diff --git a/common/socket.c b/common/socket.c index bb8050996..46803c339 100644 --- a/common/socket.c +++ b/common/socket.c @@ -30,7 +30,7 @@ #ifndef lint static char copyright[] = -"$Id: socket.c,v 1.42 1999/10/24 23:23:41 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; +"$Id: socket.c,v 1.43 2000/01/02 22:21:23 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -288,7 +288,7 @@ void maybe_setup_fallback () fbi -> wfdesc = if_register_socket (fbi); fbi -> refcnt = 1; fbi -> type = dhcp_type_interface; - status = omapi_register_io_object ((omapi_object_t)fbi, + status = omapi_register_io_object ((omapi_object_t *)fbi, if_readsocket, 0, fallback_discard, 0, 0); if (status != ISC_R_SUCCESS)