dirmngr: 64bit patch?

Jan-Oliver Wagner jan at intevation.de
Wed Mar 16 13:15:46 CET 2005


Hi,

in a SUSE rpm for dirmngr 0.5.5 I found the attached
patch that is meant to establish 64bit compatibility.
(I checked: it has not changed in CVS head)
I have no 64bit system to test, but maybe it is a
nobrainer for your brains?

	Jan
-- 
Jan-Oliver Wagner               http://intevation.de/~jan/

Intevation GmbH                      http://intevation.de/
FreeGIS                                http://freegis.org/
-------------- next part --------------
--- src/http.c
+++ src/http.c
@@ -659,7 +659,7 @@
 parse_response (http_t hd)
 {
   unsigned char *line, *p, *p2;
-  unsigned maxlen, len;
+  size_t maxlen, len;
 
   /* Wait for the status line. */
   do
--- src/http.h
+++ src/http.h
@@ -66,7 +66,7 @@
   parsed_uri_t uri;
   http_req_t req_type;
   unsigned char *buffer;     /* Line buffer. */
-  unsigned buffer_size;
+  size_t buffer_size;
   unsigned int flags;
 };
 typedef struct http_context_s *http_t;


More information about the Gnupg-devel mailing list