summaryrefslogtreecommitdiff
path: root/src/utils.c
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2021-03-05 10:08:21 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2021-03-05 10:08:21 +0900
commit8abe09f3b00fd31d1af24d3038f881034506d651 (patch)
tree057549dc80e468dce35223ddb305aa362968ed53 /src/utils.c
parentafd456999b076e5e6505dd5ca6942a5e7471c70c (diff)
downloadwget-8abe09f3b00fd31d1af24d3038f881034506d651.tar.gz
wget-8abe09f3b00fd31d1af24d3038f881034506d651.tar.bz2
wget-8abe09f3b00fd31d1af24d3038f881034506d651.zip
Imported Upstream version 1.19.3upstream/1.19.3
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/utils.c b/src/utils.c
index 81f2801..6f41fab 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -1,7 +1,5 @@
/* Various utility functions.
- Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
- 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2015 Free Software
- Foundation, Inc.
+ Copyright (C) 1996-2011, 2015, 2018 Free Software Foundation, Inc.
This file is part of GNU Wget.
@@ -49,10 +47,7 @@ as that of the covered work. */
#if HAVE_UTIME
# include <sys/types.h>
-# ifdef HAVE_UTIME_H
-# include <utime.h>
-# endif
-
+# include <utime.h>
# ifdef HAVE_SYS_UTIME_H
# include <sys/utime.h>
# endif
@@ -2819,7 +2814,7 @@ wg_pin_peer_pubkey (const char *pinnedpubkey, const char *pubkey, size_t pubkeyl
}
else
logprintf (LOG_VERBOSE, _ ("Skipping key with wrong size (%d/%d): %s\n"),
- (strlen (begin_pos + 8) * 3) / 4, SHA256_DIGEST_SIZE,
+ (int) (strlen (begin_pos + 8) * 3) / 4, SHA256_DIGEST_SIZE,
quote (begin_pos + 8));
/*