Commit 16a37ce4 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Cast INADDR_NONE to uint32_t.

parent cc1c5196
......@@ -19,7 +19,7 @@ dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
dnl Process this file with autoconf to produce a configure script.
AC_REVISION($Revision: 1.13 $)dnl
AC_REVISION($Revision: 1.14 $)dnl
AC_INIT(isc, 1.01)
......@@ -89,7 +89,7 @@ AC_REPLACE_FUNCS(inet_aton)
[if test $ac_cv_func_inet_aton = no
AC_DEFINE([INADDR_NONE],[(-1)], [Error indicator for inet_addr]),
AC_DEFINE([INADDR_NONE],[((uint32_t)-1)], [Error indicator for inet_addr]),
[#include <netinet/in.h>])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment