These should be u_int.

This commit is contained in:
Nicholas Marriott 2009-01-18 15:40:19 +00:00
parent ed6f44b01f
commit 0691217742

View File

@ -1,4 +1,4 @@
/* $Id: window-copy.c,v 1.40 2009-01-18 13:20:46 nicm Exp $ */ /* $Id: window-copy.c,v 1.41 2009-01-18 15:40:19 nicm Exp $ */
/* /*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -424,7 +424,8 @@ window_copy_copy_line(
struct window_pane *wp, char **buf, size_t *off, u_int sy, u_int sx, u_int ex) struct window_pane *wp, char **buf, size_t *off, u_int sy, u_int sx, u_int ex)
{ {
const struct grid_cell *gc; const struct grid_cell *gc;
u_char i, j, xx, data[4]; u_int i, j, xx;
u_char data[4];
if (sx > ex) if (sx > ex)
return; return;