aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/thread.c2
-rw-r--r--src/xterm.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/thread.c b/src/thread.c
index 9ea7e121a82..e3787971a53 100644
--- a/src/thread.c
+++ b/src/thread.c
@@ -664,7 +664,7 @@ DEFUN ("thread-yield", Fthread_yield, Sthread_yield, 0, 0, 0,
664static Lisp_Object 664static Lisp_Object
665invoke_thread_function (void) 665invoke_thread_function (void)
666{ 666{
667 int count = SPECPDL_INDEX (); 667 ptrdiff_t count = SPECPDL_INDEX ();
668 668
669 Ffuncall (1, &current_thread->function); 669 Ffuncall (1, &current_thread->function);
670 return unbind_to (count, Qnil); 670 return unbind_to (count, Qnil);
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);