diff options
| author | Paul Eggert | 2017-05-02 15:04:54 -0700 |
|---|---|---|
| committer | Paul Eggert | 2017-05-02 15:05:08 -0700 |
| commit | b867eb8ecf67e9fb8167d950316ba762ac561b1c (patch) | |
| tree | 17a657b2b9231fd53117aa9acf1a165c14aa023b /src/xterm.c | |
| parent | bc4d6185528b7e0933cd0486879ea3c2fbc7cf5a (diff) | |
| download | emacs-b867eb8ecf67e9fb8167d950316ba762ac561b1c.tar.gz emacs-b867eb8ecf67e9fb8167d950316ba762ac561b1c.zip | |
Use ptrdiff_t, not int, for stack sizes
* src/thread.c (invoke_thread_function):
* src/xterm.c (x_cr_export_frames):
Don’t assume SPECPDL_INDEX fits in ‘int’.
Diffstat (limited to 'src/xterm.c')
| -rw-r--r-- | src/xterm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c index 3de1ffea900..e9068830f85 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -569,7 +569,7 @@ x_cr_export_frames (Lisp_Object frames, cairo_surface_type_t surface_type) | |||
| 569 | int width, height; | 569 | int width, height; |
| 570 | void (*surface_set_size_func) (cairo_surface_t *, double, double) = NULL; | 570 | void (*surface_set_size_func) (cairo_surface_t *, double, double) = NULL; |
| 571 | Lisp_Object acc = Qnil; | 571 | Lisp_Object acc = Qnil; |
| 572 | int count = SPECPDL_INDEX (); | 572 | ptrdiff_t count = SPECPDL_INDEX (); |
| 573 | 573 | ||
| 574 | specbind (Qredisplay_dont_pause, Qt); | 574 | specbind (Qredisplay_dont_pause, Qt); |
| 575 | redisplay_preserve_echo_area (31); | 575 | redisplay_preserve_echo_area (31); |