summaryrefslogtreecommitdiff
path: root/src/termcap.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2014-07-07 16:33:05 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2014-07-07 16:33:05 -0700
commitcae17e36bc98cbcf5aa54d90396de1fe1d7b5c77 (patch)
tree12f28771f8d62c14c5f0281916aaecf02c152f6f /src/termcap.c
parent0e14232948f875e390ed46348969b9ebeb9133c1 (diff)
downloademacs-cae17e36bc98cbcf5aa54d90396de1fe1d7b5c77.tar.gz
emacs-cae17e36bc98cbcf5aa54d90396de1fe1d7b5c77.tar.bz2
emacs-cae17e36bc98cbcf5aa54d90396de1fe1d7b5c77.zip
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/termcap.c')
-rw-r--r--src/termcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/termcap.c b/src/termcap.c
index 8c766bd1994..26c6de06f88 100644
--- a/src/termcap.c
+++ b/src/termcap.c
@@ -520,7 +520,7 @@ scan_file (char *str, int fd, struct termcap_buffer *bufp)
bufp->ateof = 0;
*bufp->ptr = '\0';
- lseek (fd, 0L, 0);
+ lseek (fd, 0, 0);
while (!bufp->ateof)
{