Skip to content

Commit

Permalink
issue #19 - fix windows builds
Browse files Browse the repository at this point in the history
  • Loading branch information
uatuko committed Sep 29, 2024
1 parent 2eeef83 commit 2dda090
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tclbinding.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ Napi::Value TclBinding::toArray( const Napi::CallbackInfo& info ) {
Napi::Array r_array = Napi::Array::New(env, objc);

for ( int i = 0; i < objc; i++ ) {
r_array[i] = Napi::String::New(env, Tcl_GetString( objv[i] ));
r_array.Set(static_cast<uint32_t>(i), Tcl_GetString( objv[i] ));
}
return r_array;
}
Expand Down

0 comments on commit 2dda090

Please sign in to comment.