X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fca65%2Flisting.c;h=df256c5a88d9bc25c642cba25a19be2e54e43fe6;hb=e67f4dcbd6a50c170d3e45da4fdcd08e4f6caeab;hp=94edfd2c98adddcf44a1edb505ddb0a336152e9f;hpb=5ee8618510eacaca1f779612103bf709f59e9450;p=cc65 diff --git a/src/ca65/listing.c b/src/ca65/listing.c index 94edfd2c9..df256c5a8 100644 --- a/src/ca65/listing.c +++ b/src/ca65/listing.c @@ -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 */