Fiddling with -Wpedantic

This commit is contained in:
2022-08-07 21:39:21 +01:00
parent 3b89e216cc
commit ceeca9d40f
9 changed files with 50 additions and 20 deletions

View File

@@ -73,7 +73,7 @@ void runString(char* source) {
//get the bytecode dump
int size = 0;
char* tb = collateCompiler(&compiler, &size);
unsigned char* tb = collateCompiler(&compiler, &size);
//cleanup
freeCompiler(&compiler);
@@ -131,7 +131,7 @@ void repl() {
if (!error) {
//get the bytecode dump
int size = 0;
char* tb = collateCompiler(&compiler, &size);
unsigned char* tb = collateCompiler(&compiler, &size);
// for (int i = 0; i < size; i++) {
// printf("%d ", tb[i]);