Skip to content

Commit

Permalink
fix: param type error
Browse files Browse the repository at this point in the history
  • Loading branch information
dongwlin committed Sep 13, 2024
1 parent 9c8fa18 commit ab2c901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toolkit/project_interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func (i *ProjectInterface) RunCli(instId uint64, resourcePath, userPath string,
C.uint64_t(instId),
cResourcePath,
cUserPath,
cDirectly,
C.uint8_t(cDirectly),
C.MaaNotificationCallback(C._MaaNotificationCallbackAgent),
// Here, we are simply passing the uint64 value as a pointer
// and will not actually dereference this pointer.
Expand Down

0 comments on commit ab2c901

Please sign in to comment.