Add cast to satisfy the C++ warning gods.
This commit is contained in:
+2
-1
@@ -356,7 +356,8 @@ WrenInterpretResult runFile(const char* path)
|
||||
|
||||
WrenInterpretResult runRepl()
|
||||
{
|
||||
rootDirectory = ".";
|
||||
// This cast is safe since we don't try to free the string later.
|
||||
rootDirectory = (char*)".";
|
||||
initVM();
|
||||
|
||||
printf("\\\\/\"-\n");
|
||||
|
||||
Reference in New Issue
Block a user