openbsd-ports/security/gnutls/patches/patch-src_retcodes_c
sturm cf6f420705 update to gnutls 1.0.13
from me and maintainer Jim Geovedi
2004-05-08 06:43:40 +00:00

13 lines
385 B
Plaintext

$OpenBSD: patch-src_retcodes_c,v 1.2 2004/05/08 06:43:40 sturm Exp $
--- src/retcodes.c.orig 2003-09-01 15:42:58.000000000 +0200
+++ src/retcodes.c 2004-04-25 09:29:24.000000000 +0200
@@ -85,7 +85,7 @@ for (i=0;i>-400;i--)
j++;
}
-qsort( names_to_sort, j, sizeof(error_name), compar);
+qsort( names_to_sort, j, sizeof(error_name), (const void *)compar);
for (i=0;i<j;i++)
{