diff options
Diffstat (limited to 'src/gnutls.h')
-rw-r--r-- | src/gnutls.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gnutls.h b/src/gnutls.h index 37b9a2eb4d..2b13908a74 100644 --- a/src/gnutls.h +++ b/src/gnutls.h @@ -58,10 +58,10 @@ typedef enum #define GNUTLS_LOG2i(level, max, string, extra) do { if (level <= max) { gnutls_log_function2i (level, "(Emacs) " string, extra); } } while (0) -extern EMACS_INT -emacs_gnutls_write (struct Lisp_Process *proc, const char *buf, EMACS_INT nbyte); -extern EMACS_INT -emacs_gnutls_read (struct Lisp_Process *proc, char *buf, EMACS_INT nbyte); +extern ptrdiff_t +emacs_gnutls_write (struct Lisp_Process *proc, const char *buf, ptrdiff_t nbyte); +extern ptrdiff_t +emacs_gnutls_read (struct Lisp_Process *proc, char *buf, ptrdiff_t nbyte); extern int emacs_gnutls_record_check_pending (gnutls_session_t state); extern void emacs_gnutls_transport_set_errno (gnutls_session_t state, int err); |