mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
Fiddling with -Wpedantic
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user