From: Eli Zaretskii Date: Sat, 13 Dec 2014 16:58:08 +0000 (+0200) Subject: src/gnutls.c (gnutls_init): Fix deprecation warning from GCC. X-Git-Tag: emacs-24.4.90~137 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d9005dd;p=emacs.git src/gnutls.c (gnutls_init): Fix deprecation warning from GCC. --- diff --git a/src/ChangeLog b/src/ChangeLog index f8790a66d32..6b7abe46eea 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2014-12-13 Eli Zaretskii + + * gnutls.c (gnutls_init): Fix deprecation warning from GCC. + 2014-12-12 Eli Zaretskii * gnutls.c (Fgnutls_available_p, syms_of_gnutls): Move diff --git a/src/gnutls.c b/src/gnutls.c index 247e5c42d48..ffa3c982572 100644 --- a/src/gnutls.c +++ b/src/gnutls.c @@ -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));