summaryrefslogtreecommitdiffstats
path: root/keyserver/curl-shim.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2006-11-21 12:00:14 +0100
committerWerner Koch <wk@gnupg.org>2006-11-21 12:00:14 +0100
commite50c5f39cc2ea399eead30ef451d7d5e24c13fe6 (patch)
tree37f73eb8abf85a3a6505a5a7c30b1e4c8e8d85d5 /keyserver/curl-shim.c
parentMade some PIN pads work. (diff)
downloadgnupg2-e50c5f39cc2ea399eead30ef451d7d5e24c13fe6.tar.xz
gnupg2-e50c5f39cc2ea399eead30ef451d7d5e24c13fe6.zip
No more warnings for AMD64 (at least when cross-compiling). Thus tehre is a
good chance that gpg2 will now work. Other cleanups. Updated gettext.
Diffstat (limited to 'keyserver/curl-shim.c')
-rw-r--r--keyserver/curl-shim.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/keyserver/curl-shim.c b/keyserver/curl-shim.c
index 763c0ef24..406e26ee0 100644
--- a/keyserver/curl-shim.c
+++ b/keyserver/curl-shim.c
@@ -217,7 +217,9 @@ curl_easy_perform(CURL *curl)
err = CURLE_HTTP_RETURNED_ERROR;
else
{
- unsigned int maxlen = 1024, buflen, len;
+ size_t maxlen = 1024;
+ size_t buflen;
+ unsigned int len;
char *line = NULL;
while ((len = es_read_line (http_get_read_ptr (curl->hd),