fix: sanitizer checks fix (iteration 3 - final)
This commit is contained in:
+2
-2
@@ -193,7 +193,7 @@ void print_object(fzl_vm_object_t *obj)
|
||||
else if (arg.type == FZL_TYPE_UINT)
|
||||
printf("uint(%lu)", arg.as.u);
|
||||
else if (arg.type == FZL_TYPE_BOOL)
|
||||
printf("bool(%b)", arg.as.b);
|
||||
printf("bool(%s)", arg.as.b ? "true" : "false");
|
||||
else if (arg.type == FZL_TYPE_NULL)
|
||||
printf("<null>");
|
||||
else if (arg.type == FZL_TYPE_OBJECT)
|
||||
@@ -833,7 +833,7 @@ int fzl_vm_run(fzl_vm_t *vm)
|
||||
else if (arg.type == FZL_TYPE_UINT)
|
||||
printf("%lu\n", arg.as.u);
|
||||
else if (arg.type == FZL_TYPE_BOOL)
|
||||
printf("%b\n", arg.as.b);
|
||||
printf("%s\n", arg.as.b ? "true" : "false");
|
||||
else if (arg.type == FZL_TYPE_NULL)
|
||||
printf("<null>\n");
|
||||
else if (arg.type == FZL_TYPE_OBJECT)
|
||||
|
||||
Reference in New Issue
Block a user