Skip to content

Commit

Permalink
Fix the Windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelmalonenz committed Feb 18, 2024
1 parent ebcac31 commit 847bb33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/directory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ VALUE dir_static_list(VM *vm, VALUE UNUSED(klass), int arg_count, VALUE *argumen
else if (isObjOfStdlibClassType(arguments[0], CLS_DIRECTORY))
{
DirectoryData *data = GET_NATIVE_INSTANCE_DATA(DirectoryData, arguments[0]);
path = data->path->c_str();
path = data->path->string().c_str();
}
else
{
Expand Down

0 comments on commit 847bb33

Please sign in to comment.