diff options
author | roberto <roberto@FreeBSD.org> | 2001-08-29 14:35:15 +0000 |
---|---|---|
committer | roberto <roberto@FreeBSD.org> | 2001-08-29 14:35:15 +0000 |
commit | 40b8e415eb0f835a9dd7a473ddf134ec67877fd7 (patch) | |
tree | 3cfb63f1a112ee17469b17fc1593a88d004ddda6 /contrib/ntp/util/hist.c | |
parent | a5a8dc6136fcee95f261a31609a25669038c3861 (diff) | |
download | FreeBSD-src-40b8e415eb0f835a9dd7a473ddf134ec67877fd7.zip FreeBSD-src-40b8e415eb0f835a9dd7a473ddf134ec67877fd7.tar.gz |
Virgin import of ntpd 4.1.0
Diffstat (limited to 'contrib/ntp/util/hist.c')
-rw-r--r-- | contrib/ntp/util/hist.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/ntp/util/hist.c b/contrib/ntp/util/hist.c index ee4e93a..b02d73f 100644 --- a/contrib/ntp/util/hist.c +++ b/contrib/ntp/util/hist.c @@ -8,14 +8,14 @@ */ #ifdef HAVE_CONFIG_H -#include <config.h> +# include <config.h> #endif -#include <sys/time.h> -#include <stdio.h> -#include <stdlib.h> #include "ntp_types.h" +#include <stdio.h> +#include <stdlib.h> + #define NBUF 100001 /* size of basic histogram */ #define NSRT 20000 /* size of overflow histogram */ #define NCNT (600 * 1000000) /* sample interval (us) */ @@ -79,7 +79,7 @@ main( } if (n == 0) return; - qsort((char *)ovfl, (int)n, sizeof(long), col); + qsort((char *)ovfl, (size_t)n, sizeof(long), col); w = 0; j = 0; for (i = 0; i < n; i++) { |