From d75f3687fb3c1a998f79b23153a9204fcd6c5bd6 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Fri, 24 Nov 2000 22:27:51 +0000 Subject: [PATCH] Correct pointer types in new clipme function [originally from svn r812] --- terminal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminal.c b/terminal.c index 116d6974..96472d31 100644 --- a/terminal.c +++ b/terminal.c @@ -1917,7 +1917,7 @@ void term_scroll (int rel, int where) { term_update(); } -static void clipme(long *top, long *bottom, char *workbuf) { +static void clipme(unsigned long *top, unsigned long *bottom, char *workbuf) { char *wbptr; /* where next char goes within workbuf */ int wblen = 0; /* workbuf len */ int buflen; /* amount of memory allocated to workbuf */