parser: consolidate tokens
[m6w6/ext-psi] / src / token.c
index f9b69f68ba0bf738115c8b53bb2c65af1da58840..08a6802826cb70572afcae87bf6816990cf4b7ea 100644 (file)
@@ -199,7 +199,7 @@ void psi_token_dump(int fd, struct psi_token *t)
 {
        size_t i;
 
-       dprintf(fd, "TOKEN %p (%ld) ", t, t->type);
+       dprintf(fd, "TOKEN %p (%u) ", t, t->type);
        if (t->type == PSI_T_EOF) {
                dprintf(fd, "EOF");
        } else {