Fix conversion after change

This commit is contained in:
Michael Boulton 2020-08-14 16:21:28 +01:00
parent 8f8ca35359
commit 7cb7fb1f08
No known key found for this signature in database
GPG Key ID: 8A62CA0BE2E0197E
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ func newRebaseOperationFromC(c *C.git_rebase_operation) *RebaseOperation {
//export commitSignCallback
func commitSignCallback(_signature *C.git_buf, _signature_field *C.git_buf, _commit_content *C.char, _payload unsafe.Pointer) C.int {
opts, ok := pointerHandles.Get(_payload).(RebaseOptions)
opts, ok := pointerHandles.Get(_payload).(*RebaseOptions)
if !ok {
panic("invalid sign payload")
}