]> git.eshelyaron.com Git - emacs.git/commitdiff
src/gnutls.c (gnutls_init): Fix deprecation warning from GCC.
authorEli Zaretskii <eliz@gnu.org>
Sat, 13 Dec 2014 16:58:08 +0000 (18:58 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 13 Dec 2014 16:58:08 +0000 (18:58 +0200)
src/ChangeLog
src/gnutls.c

index f8790a66d32686b1cab036a27537f7addce1c197..6b7abe46eeabf5fd0cee53b4004b7e272ff95aa6 100644 (file)
@@ -1,3 +1,7 @@
+2014-12-13  Eli Zaretskii  <eliz@gnu.org>
+
+       * gnutls.c (gnutls_init): Fix deprecation warning from GCC.
+
 2014-12-12  Eli Zaretskii  <eliz@gnu.org>
 
        * gnutls.c (Fgnutls_available_p, syms_of_gnutls): Move
index 247e5c42d48667947afb8ff9b035478483f25589..ffa3c9825729404d8b6464ef37561c13272deea3 100644 (file)
@@ -121,7 +121,7 @@ DEF_GNUTLS_FN (void, gnutls_global_set_mem_functions,
                gnutls_is_secure_function, gnutls_realloc_function,
                gnutls_free_function));
 DEF_GNUTLS_FN (int, gnutls_handshake, (gnutls_session_t));
-DEF_GNUTLS_FN (int, gnutls_init, (gnutls_session_t *, gnutls_connection_end_t));
+DEF_GNUTLS_FN (int, gnutls_init, (gnutls_session_t *, unsigned int));
 DEF_GNUTLS_FN (int, gnutls_priority_set_direct,
               (gnutls_session_t, const char *, const char **));
 DEF_GNUTLS_FN (size_t, gnutls_record_check_pending, (gnutls_session_t));