]> git.sur5r.net Git - cc65/blobdiff - src/ca65/listing.c
Enable even more warnings
[cc65] / src / ca65 / listing.c
index 94edfd2c98adddcf44a1edb505ddb0a336152e9f..df256c5a88d9bc25c642cba25a19be2e54e43fe6 100644 (file)
@@ -46,6 +46,7 @@
 
 /* ca65 */
 #include "error.h"
+#include "filetab.h"
 #include "global.h"
 #include "objcode.h"
 #include "listing.h"
@@ -66,7 +67,7 @@ ListLine*       LineLast = 0;         /* Last (current) listing line */
 /* Page and other formatting */
 int                    PageLength = -1;        /* Length of a listing page */
 static unsigned        PageNumber = 1;         /* Current listing page number */
-static unsigned PageLines  = 0;                /* Current line on page */
+static int      PageLines  = 0;                /* Current line on page */
 static unsigned ListBytes  = 12;       /* Number of bytes to list for one line */
 
 /* Switch the listing on/off */