diff options
author | Sadrul Habib Chowdhury <sadrul@users.sourceforge.net> | 2008-08-08 15:26:18 -0400 |
---|---|---|
committer | Sadrul Habib Chowdhury <sadrul@users.sourceforge.net> | 2008-08-08 15:26:18 -0400 |
commit | d77d98d3aee8e16f79698b85ca8ee25423e48d79 (patch) | |
tree | 1406d4995852ca1cab7998a881db2a9ab05e6e7a /src/mark.c | |
parent | c39f7a96ce2e3561ad4dbc216d0b693494419491 (diff) | |
download | screen-d77d98d3aee8e16f79698b85ca8ee25423e48d79.tar.gz |
Get rid of a bunch of compile warnings
Diffstat (limited to 'src/mark.c')
-rw-r--r-- | src/mark.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -22,6 +22,7 @@ */ #include <sys/types.h> +#include <ctype.h> #include "config.h" #include "screen.h" @@ -153,7 +154,7 @@ nextchar(int *xp, int *yp, int direction, char target, int num) x = *xp; adjust = 0; width = fore->w_width; - displayed_line = WIN(*yp) -> image; + displayed_line = (char *)WIN(*yp) -> image; switch(direction) { case 't': adjust = -1; /* fall through */ |