]> code.delx.au - gnu-emacs/blobdiff - src/gnutls.h
lisp.h: Fix a problem with aliasing and vector headers.
[gnu-emacs] / src / gnutls.h
index 43a9eefce1b124e3330a087c19dfad2d69698c29..5240d94c2ad7e9f49032ae2c0f947757d8fa103e 100644 (file)
@@ -50,15 +50,15 @@ typedef enum
 
 #define GNUTLS_LOG2(level, max, string, extra) if (level <= max) { gnutls_log_function2 (level, "(Emacs) " string, extra); }
 
-int
-emacs_gnutls_write (int fildes, struct Lisp_Process *proc, char *buf,
-                    unsigned int nbyte);
-int
+EMACS_INT
+emacs_gnutls_write (int fildes, struct Lisp_Process *proc, const char *buf,
+                    EMACS_INT nbyte);
+EMACS_INT
 emacs_gnutls_read (int fildes, struct Lisp_Process *proc, char *buf,
-                   unsigned int nbyte);
+                   EMACS_INT nbyte);
 
 extern void syms_of_gnutls (void);
 
-#endif 
+#endif
 
 #endif