diff options
| author | Paul Eggert | 2011-04-05 13:22:53 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-04-05 13:22:53 -0700 |
| commit | da09ccce7ac9eca4e19f409215cc2897866e0a50 (patch) | |
| tree | 71ba69a43a7e5559b60a168b3b48c1ea11b2f78c /src/ChangeLog | |
| parent | 1e973bc79daedde5ae088ddb54700e15c79ae518 (diff) | |
| download | emacs-da09ccce7ac9eca4e19f409215cc2897866e0a50.tar.gz emacs-da09ccce7ac9eca4e19f409215cc2897866e0a50.zip | |
* fns.c (Fstring_to_unibyte): Don't rely on undefined behavior
by passing a long int to a printf format expecting an int.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 185d611ea6e..fd864a460f4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -2,6 +2,9 @@ | |||
| 2 | 2 | ||
| 3 | Fix more problems found by GCC 4.6.0's static checks. | 3 | Fix more problems found by GCC 4.6.0's static checks. |
| 4 | 4 | ||
| 5 | * fns.c (Fstring_to_unibyte): Don't rely on undefined behavior | ||
| 6 | by passing a long int to a printf format expecting an int. | ||
| 7 | |||
| 5 | * lisp.h (message, message_nolog, doprint, error, verror, fatal): | 8 | * lisp.h (message, message_nolog, doprint, error, verror, fatal): |
| 6 | Mark as printf-like functions. | 9 | Mark as printf-like functions. |
| 7 | 10 | ||