mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-11 14:18:42 +01:00
Add cast to satisfy the C++ warning gods.
This commit is contained in:
@ -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