]> git.sur5r.net Git - cc65/blobdiff - src/ca65/nexttok.c
Enable even more warnings
[cc65] / src / ca65 / nexttok.c
index 9504e29280e3ab6cb70521b38a994bf2370a4278..c1a5bb5d344edcea9ca4e7a28cee27416f0884d7 100644 (file)
 
 
 #include <stdio.h>
+#include <string.h>
 
+/* 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;