diff --git a/window-copy.c b/window-copy.c index c8b614f6..0284e58c 100644 --- a/window-copy.c +++ b/window-copy.c @@ -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 @@ -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) { const struct grid_cell *gc; - u_char i, j, xx, data[4]; + u_int i, j, xx; + u_char data[4]; if (sx > ex) return;