diff options
| author | Paul Eggert | 2011-04-18 23:52:00 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-04-18 23:52:00 -0700 |
| commit | 6f04d1261b5e973d67dd8f4da9f86559281b67be (patch) | |
| tree | b07f484f336e899e70852ff804cb9fa02acad267 /src/ChangeLog | |
| parent | 4ef23ecf04ac996a938f9fb0107efbc60fdc63e4 (diff) | |
| download | emacs-6f04d1261b5e973d67dd8f4da9f86559281b67be.tar.gz emacs-6f04d1261b5e973d67dd8f4da9f86559281b67be.zip | |
Avoid 0 flag with %p printf format.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 7d63e76c309..1ed289b3964 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -29,13 +29,14 @@ | |||
| 29 | * print.c (safe_debug_print, print_object): Likewise. | 29 | * print.c (safe_debug_print, print_object): Likewise. |
| 30 | (print_object): Don't overflow by converting EMACS_INT or EMACS_UINT | 30 | (print_object): Don't overflow by converting EMACS_INT or EMACS_UINT |
| 31 | to int. | 31 | to int. |
| 32 | Use pI instead of if-then-else-abort. Use %p to avoid casts. | 32 | Use pI instead of if-then-else-abort. Use %p to avoid casts, |
| 33 | avoiding the 0 flag, which is not portable. | ||
| 33 | * process.c (Fmake_network_process): Use pI to avoid cast. | 34 | * process.c (Fmake_network_process): Use pI to avoid cast. |
| 34 | * region-cache.c (pp_cache): Likewise. | 35 | * region-cache.c (pp_cache): Likewise. |
| 35 | * xdisp.c (decode_mode_spec): Likewise. | 36 | * xdisp.c (decode_mode_spec): Likewise. |
| 36 | * xrdb.c (x_load_resources) [USE_MOTIF]: Use pI to avoid undefined | 37 | * xrdb.c (x_load_resources) [USE_MOTIF]: Use pI to avoid undefined |
| 37 | behavior on 64-bit hosts with printf arg. | 38 | behavior on 64-bit hosts with printf arg. |
| 38 | * xselect.c (x_queue_event): Use %p to avoid casts. | 39 | * xselect.c (x_queue_event): Use %p to avoid casts, avoiding 0 flag. |
| 39 | (x_stop_queuing_selection_requests): Likewise. | 40 | (x_stop_queuing_selection_requests): Likewise. |
| 40 | (x_get_window_property): Don't truncate byte count to an 'int' | 41 | (x_get_window_property): Don't truncate byte count to an 'int' |
| 41 | when tracing. | 42 | when tracing. |