[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master fa41fa7: Port recent gnutls fixes to gcc -Wpointer-
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] master fa41fa7: Port recent gnutls fixes to gcc -Wpointer-sign |
Date: |
Tue, 27 Aug 2019 17:20:02 -0400 (EDT) |
branch: master
commit fa41fa70f1ed0bb392328f84388b803ddef7f6d9
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>
Port recent gnutls fixes to gcc -Wpointer-sign
* src/gnutls.c (Fgnutls_format_certificate):
Fix pointer signedness problem.
---
src/gnutls.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/gnutls.c b/src/gnutls.c
index 577675f..042f43e 100644
--- a/src/gnutls.c
+++ b/src/gnutls.c
@@ -1622,7 +1622,8 @@ string representation. */)
emacs_gnutls_strerror (err));
}
- Lisp_Object result = make_string_from_bytes (out.data, out.size, out.size);
+ Lisp_Object result = make_string_from_bytes ((char *) out.data, out.size,
+ out.size);
gnutls_free (out.data);
gnutls_x509_crt_deinit (crt);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master fa41fa7: Port recent gnutls fixes to gcc -Wpointer-sign,
Paul Eggert <=