Skip to content

Commit

Permalink
refactor: remove useless type conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
dongwlin committed Nov 20, 2024
1 parent 3a8f3b9 commit acc89d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_recognition.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func _MaaCustomRecognitionCallbackAgent(
recognizer := customRecognitionCallbackAgents[id]
ctx := Context{handle: context}
tasker := ctx.GetTasker()
taskDetail := tasker.getTaskDetail(int64(taskId))
taskDetail := tasker.getTaskDetail(taskId)
imgBuffer := buffer.NewImageBufferByHandle(image)
imgImg := imgBuffer.Get()

Expand Down

0 comments on commit acc89d3

Please sign in to comment.