aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
authorPaul Eggert2011-04-10 09:44:27 -0700
committerPaul Eggert2011-04-10 09:44:27 -0700
commitb2ded58d7e0eb75f00071036d1c07bbd55313b60 (patch)
tree5546bb6d7214033a83d13ce87a15f65595f6ae74 /src/window.c
parent37f1c9309eb0e6b3bc3dda1ffa7f99410c22355d (diff)
parent12020a9e6dcfc2213e8bbb0fec259c1ed1202f30 (diff)
downloademacs-b2ded58d7e0eb75f00071036d1c07bbd55313b60.tar.gz
emacs-b2ded58d7e0eb75f00071036d1c07bbd55313b60.zip
Fix more problems found by GCC 4.6.0's static checks.
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 {