openbsd-ports/www/mod_dav/patches/patch-dav_opaquelock_c
brad 3188a10c24 fixes for 64-bit archs.
From: Rolf Gartmann on the mod_dav list via Paul Weissmann in PR 4576
2005-10-28 01:04:53 +00:00

18 lines
536 B
Plaintext

$OpenBSD: patch-dav_opaquelock_c,v 1.1 2005/10/28 01:04:53 brad Exp $
--- dav_opaquelock.c.orig Thu Oct 27 20:54:30 2005
+++ dav_opaquelock.c Thu Oct 27 20:55:22 2005
@@ -116,10 +116,10 @@ const char *dav_format_opaquelocktoken(p
}
/* convert a pair of hex digits to an integer value [0,255] */
-static int dav_parse_hexpair(const char *s)
+static unsigned int dav_parse_hexpair(const char *s)
{
- int result;
- int temp;
+ unsigned int result;
+ unsigned int temp;
#ifdef CHARSET_EBCDIC
ebcdic2ascii(s, s, 2);