Skip to content

Commit

Permalink
Port recent gnutls fixes to gcc -Wpointer-sign
Browse files Browse the repository at this point in the history
* src/gnutls.c (Fgnutls_format_certificate):
Fix pointer signedness problem.
  • Loading branch information
eggert committed Aug 27, 2019
1 parent ba5d979 commit fa41fa7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gnutls.c
Expand Up @@ -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);

Expand Down

0 comments on commit fa41fa7

Please sign in to comment.