summaryrefslogtreecommitdiff
path: root/src/mark.c
diff options
context:
space:
mode:
authorSadrul Habib Chowdhury <sadrul@users.sourceforge.net>2008-08-08 15:26:18 -0400
committerSadrul Habib Chowdhury <sadrul@users.sourceforge.net>2008-08-08 15:26:18 -0400
commitd77d98d3aee8e16f79698b85ca8ee25423e48d79 (patch)
tree1406d4995852ca1cab7998a881db2a9ab05e6e7a /src/mark.c
parentc39f7a96ce2e3561ad4dbc216d0b693494419491 (diff)
downloadscreen-d77d98d3aee8e16f79698b85ca8ee25423e48d79.tar.gz
Get rid of a bunch of compile warnings
Diffstat (limited to 'src/mark.c')
-rw-r--r--src/mark.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mark.c b/src/mark.c
index 54c39f4..2598bde 100644
--- a/src/mark.c
+++ b/src/mark.c
@@ -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 */