X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/8546720e6f25eb988e8215de6678798053031440..762f8d96719ba3e8a0e79d8bb99fe8e119fafb3a:/src/window.c diff --git a/src/window.c b/src/window.c index d023f9a29c..a8a6fceaae 100644 --- a/src/window.c +++ b/src/window.c @@ -3801,7 +3801,7 @@ See Info node `(elisp)Splitting Windows' for more details and examples. */) error ("Window height %d too small (after splitting)", size_int); if (size_int + window_safe_height > XFASTINT (o->total_lines)) error ("Window height %d too small (after splitting)", - XFASTINT (o->total_lines) - size_int); + (int) (XFASTINT (o->total_lines) - size_int)); if (NILP (o->parent) || NILP (XWINDOW (o->parent)->vchild)) { @@ -3818,7 +3818,7 @@ See Info node `(elisp)Splitting Windows' for more details and examples. */) error ("Window width %d too small (after splitting)", size_int); if (size_int + window_safe_width > XFASTINT (o->total_cols)) error ("Window width %d too small (after splitting)", - XFASTINT (o->total_cols) - size_int); + (int) (XFASTINT (o->total_cols) - size_int)); if (NILP (o->parent) || NILP (XWINDOW (o->parent)->hchild)) {