]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Correct type of len parameter.
authorUlrich Drepper <drepper@redhat.com>
Mon, 27 Sep 1999 00:06:14 +0000 (00:06 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 27 Sep 1999 00:06:14 +0000 (00:06 +0000)
inet/gethstbyad.c
inet/gethstbyad_r.c

index 410abe2342aeb685a856b0c9b1731830babc260b..8183ddfd289cc9185ff73b93985783ea844b6f4f 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 1999 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -23,7 +23,7 @@
 #define LOOKUP_TYPE    struct hostent
 #define FUNCTION_NAME  gethostbyaddr
 #define DATABASE_NAME  hosts
-#define ADD_PARAMS     const char *addr, int len, int type
+#define ADD_PARAMS     const char *addr, size_t len, int type
 #define ADD_VARIABLES  addr, len, type
 #define BUFLEN         1024
 #define NEED_H_ERRNO   1
index 175253d9ab3160eef371898c58e3a11e62bfd589..65e191582b352047cea091734623c6f4c3087e41 100644 (file)
@@ -23,7 +23,7 @@
 #define LOOKUP_TYPE    struct hostent
 #define FUNCTION_NAME  gethostbyaddr
 #define DATABASE_NAME  hosts
-#define ADD_PARAMS     const char *addr, int len, int type
+#define ADD_PARAMS     const char *addr, size_t len, int type
 #define ADD_VARIABLES  addr, len, type
 #define NEED_H_ERRNO   1
 #define NEED__RES      1