diff options
| author | Paul Eggert | 2019-07-07 12:29:27 -0700 |
|---|---|---|
| committer | Paul Eggert | 2019-07-07 12:33:35 -0700 |
| commit | 8f522efe9a963cd3523ea6863f9bd44881cdf6b7 (patch) | |
| tree | 10ba28c937e142395bcc4d81580d24fa334e1227 /src/gnutls.c | |
| parent | bda8a57141e6cb5455e1246c6ab394791fd6c582 (diff) | |
| download | emacs-8f522efe9a963cd3523ea6863f9bd44881cdf6b7.tar.gz emacs-8f522efe9a963cd3523ea6863f9bd44881cdf6b7.zip | |
Remove printmax_t etc.
printmax_t etc. were needed only for platforms that lacked
support for printing intmax_t. These platforms are now so
obsolete that they are no longer practical porting targets.
* src/image.c (gs_load): Fix unlikely buffer overrun
discovered while making these changes. It was introduced in
2011-07-17T00:34:43!eggert@cs.ucla.edu.
* src/lisp.h (printmax_t, uprintmax_t, pMd, pMu, pMx):
Remove. All uses replaced by their standard counterparts
intmax_t, uintmax_t, PRIdMAX, PRIuMAX, PRIxMAX.
Diffstat (limited to 'src/gnutls.c')
| -rw-r--r-- | src/gnutls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gnutls.c b/src/gnutls.c index 1afbb2bd4e5..267ba9aba35 100644 --- a/src/gnutls.c +++ b/src/gnutls.c | |||
| @@ -2098,8 +2098,8 @@ gnutls_symmetric_aead (bool encrypting, gnutls_cipher_algorithm_t gca, | |||
| 2098 | SAFE_FREE (); | 2098 | SAFE_FREE (); |
| 2099 | return list2 (output, actual_iv); | 2099 | return list2 (output, actual_iv); |
| 2100 | # else | 2100 | # else |
| 2101 | printmax_t print_gca = gca; | 2101 | intmax_t print_gca = gca; |
| 2102 | error ("GnuTLS AEAD cipher %"pMd" is invalid or not found", print_gca); | 2102 | error ("GnuTLS AEAD cipher %"PRIdMAX" is invalid or not found", print_gca); |
| 2103 | # endif | 2103 | # endif |
| 2104 | } | 2104 | } |
| 2105 | 2105 | ||