fix warnings

pull/89/merge
David Schweikert 8 years ago
parent 324242b144
commit 23d4a021fc

@ -38,15 +38,6 @@ extern "C"
#include "fping.h" #include "fping.h"
#include "options.h" #include "options.h"
/* if compiling for Windows, use this separate set
(too difficult to ifdef all the autoconf defines) */
#ifdef WIN32
/*** Windows includes ***/
#else
/*** autoconf includes ***/ /*** autoconf includes ***/
@ -90,17 +81,9 @@ extern "C"
#include <netdb.h> #include <netdb.h>
#include <ctype.h> #include <ctype.h>
/* RS6000 hasn't getopt.h */
#ifdef HAVE_GETOPT_H
#include <getopt.h> #include <getopt.h>
#endif /* HAVE_GETOPT_H */
/* RS6000 has sys/select.h */
#ifdef HAVE_SYS_SELECT_H
#include <sys/select.h> #include <sys/select.h>
#endif /* HAVE_SYS_SELECT_H */
#endif /* WIN32 */
/*** externals ***/ /*** externals ***/
@ -436,7 +419,7 @@ int main( int argc, char **argv )
break; break;
case 'b': case 'b':
if (!sscanf(optarg,"%i",&ping_data_size)) if (!sscanf(optarg,"%u",&ping_data_size))
usage(1); usage(1);
break; break;

Loading…
Cancel
Save