diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2014-07-07 16:33:05 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2014-07-07 16:33:05 -0700 |
commit | cae17e36bc98cbcf5aa54d90396de1fe1d7b5c77 (patch) | |
tree | 12f28771f8d62c14c5f0281916aaecf02c152f6f /src/xfaces.c | |
parent | 0e14232948f875e390ed46348969b9ebeb9133c1 (diff) | |
download | emacs-cae17e36bc98cbcf5aa54d90396de1fe1d7b5c77.tar.gz |
Minor fixups related to usage of the 'long' type.
* gnutls.c (emacs_gnutls_handshake):
* xfaces.c (dump_realized_face):
Work even if 'long' is narrower than 'void *'.
* termcap.c (scan_file):
* xselect.c (x_decline_selection_request)
(x_reply_selection_request, x_get_window_property):
* xterm.c (x_set_frame_alpha):
Remove unnecessary 'L' suffixes of integer constants.
* xfns.c (hack_wm_protocols):
* xselect.c (x_fill_property_data):
* xterm.c (x_set_offset, x_set_window_size_1, x_make_frame_invisible):
Remove unnecessary casts to 'long'.
(set_machine_and_pid_properties): Don't assume pid_t fits in 32 bits.
Diffstat (limited to 'src/xfaces.c')
-rw-r--r-- | src/xfaces.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xfaces.c b/src/xfaces.c index ead14f0116d..081875f5bea 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -6299,7 +6299,7 @@ dump_realized_face (struct face *face) { fprintf (stderr, "ID: %d\n", face->id); #ifdef HAVE_X_WINDOWS - fprintf (stderr, "gc: %ld\n", (long) face->gc); + fprintf (stderr, "gc: %p\n", face->gc); #endif fprintf (stderr, "foreground: 0x%lx (%s)\n", face->foreground, |