Correct pointer types in new clipme function
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 24 Nov 2000 22:27:51 +0000 (22:27 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 24 Nov 2000 22:27:51 +0000 (22:27 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@812 cda61777-01e9-0310-a592-d414129be87e

terminal.c

index 116d697..96472d3 100644 (file)
@@ -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 */