From: Paul Eggert Date: Tue, 26 Apr 2011 07:23:56 +0000 (-0700) Subject: * gnutls.c (Fgnutls_boot): gnutls_certificate_verify_peers2 wants unsigned *. X-Git-Url: http://git.hcoop.net/bpt/emacs.git/commitdiff_plain/7754e1516fdb6ddf8f43f0977cfea8407e5093fa * gnutls.c (Fgnutls_boot): gnutls_certificate_verify_peers2 wants unsigned *. --- diff --git a/src/ChangeLog b/src/ChangeLog index 6536a8537a..70438c72f0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -6,6 +6,7 @@ needed for one caller, Fgnutls_boot. (emacs_gnutls_read): Do that check. This is the other caller. (emacs_gnutls_handle_error): Remove unused local. + (Fgnutls_boot): gnutls_certificate_verify_peers2 wants unsigned *. lisp.h: Fix a problem with aliasing and vector headers. GCC 4.6.0 optimizes based on type-based alias analysis. For diff --git a/src/gnutls.c b/src/gnutls.c index 30d7a0c531..9b8e501b1f 100644 --- a/src/gnutls.c +++ b/src/gnutls.c @@ -463,7 +463,7 @@ one trustfile (usually a CA bundle). */) Lisp_Object global_init; char const *priority_string_ptr = "NORMAL"; /* default priority string. */ Lisp_Object tail; - int peer_verification; + unsigned int peer_verification; char* c_hostname; /* Placeholders for the property list elements. */