aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c
index d023f9a29cd..a8a6fceaaee 100644
--- a/src/window.c
+++ b/src/window.c
@@ -3801,7 +3801,7 @@ See Info node `(elisp)Splitting Windows' for more details and examples. */)
3801 error ("Window height %d too small (after splitting)", size_int); 3801 error ("Window height %d too small (after splitting)", size_int);
3802 if (size_int + window_safe_height > XFASTINT (o->total_lines)) 3802 if (size_int + window_safe_height > XFASTINT (o->total_lines))
3803 error ("Window height %d too small (after splitting)", 3803 error ("Window height %d too small (after splitting)",
3804 XFASTINT (o->total_lines) - size_int); 3804 (int) (XFASTINT (o->total_lines) - size_int));
3805 if (NILP (o->parent) 3805 if (NILP (o->parent)
3806 || NILP (XWINDOW (o->parent)->vchild)) 3806 || NILP (XWINDOW (o->parent)->vchild))
3807 { 3807 {
@@ -3818,7 +3818,7 @@ See Info node `(elisp)Splitting Windows' for more details and examples. */)
3818 error ("Window width %d too small (after splitting)", size_int); 3818 error ("Window width %d too small (after splitting)", size_int);
3819 if (size_int + window_safe_width > XFASTINT (o->total_cols)) 3819 if (size_int + window_safe_width > XFASTINT (o->total_cols))
3820 error ("Window width %d too small (after splitting)", 3820 error ("Window width %d too small (after splitting)",
3821 XFASTINT (o->total_cols) - size_int); 3821 (int) (XFASTINT (o->total_cols) - size_int));
3822 if (NILP (o->parent) 3822 if (NILP (o->parent)
3823 || NILP (XWINDOW (o->parent)->hchild)) 3823 || NILP (XWINDOW (o->parent)->hchild))
3824 { 3824 {