aboutsummaryrefslogtreecommitdiff
path: root/interpreter
diff options
context:
space:
mode:
Diffstat (limited to 'interpreter')
-rw-r--r--interpreter/print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/interpreter/print.c b/interpreter/print.c
index 7a2b50b..5433fcb 100644
--- a/interpreter/print.c
+++ b/interpreter/print.c
@@ -10,7 +10,7 @@
#include "mem.h"
void print_token(struct token *tk) {
- char c = NULL;
+ char c = 0x00;
switch (tk->kind) {
case TOKEN_SEMICOLON: c = ';'; break;
case TOKEN_COLON: c = ':'; break;