* gnutls.c (Fgnutls_boot): gnutls_certificate_verify_peers2 wants unsigned *.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 26 Apr 2011 07:23:56 +0000 (00:23 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 26 Apr 2011 07:23:56 +0000 (00:23 -0700)
src/ChangeLog
src/gnutls.c

index 6536a85..70438c7 100644 (file)
@@ -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
index 30d7a0c..9b8e501 100644 (file)
@@ -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.  */