Skip to content

Commit e87e5d8

Browse files
authored
Update request.go
1 parent 19898ec commit e87e5d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

request.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@ func NewRequest(requestId C.HREQUEST) *Request {
4646

4747
func (r *Request) GetRequestType() uint {
4848
var pType uint
49-
C.RequestGetRequestType(C.HREQUEST(r.rq), (*C.REQUEST_RQ_TYPE)(unsafe.Pointer(&pType)))
49+
C.RequestGetRequestType(r.rq, (*C.REQUEST_RQ_TYPE)(unsafe.Pointer(&pType)))
5050
return pType
5151
}

0 commit comments

Comments
 (0)