X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fca65%2Fnexttok.c;h=c1a5bb5d344edcea9ca4e7a28cee27416f0884d7;hb=e67f4dcbd6a50c170d3e45da4fdcd08e4f6caeab;hp=9504e29280e3ab6cb70521b38a994bf2370a4278;hpb=fbe694bca326aefe2677d478f7179ade6ee7e40c;p=cc65 diff --git a/src/ca65/nexttok.c b/src/ca65/nexttok.c index 9504e2928..c1a5bb5d3 100644 --- a/src/ca65/nexttok.c +++ b/src/ca65/nexttok.c @@ -34,7 +34,12 @@ #include +#include +/* common */ +#include "check.h" + +/* ca65 */ #include "error.h" #include "expr.h" #include "scanner.h" @@ -290,7 +295,7 @@ static void FuncRight (void) List = CollectTokens (0, 9999); /* Delete tokens from the list until Count tokens are remaining */ - while (List->Count > Count) { + while (List->Count > (unsigned) Count) { /* Get the first node */ TokNode* T = List->Root;