Skip to content

Commit db41496

Browse files
committed
chore: make go_ub_write() length parameter type consistent with C
1 parent 8151c3a commit db41496

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frankenphp.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ func ServeHTTP(responseWriter http.ResponseWriter, request *http.Request) error
418418
}
419419

420420
//export go_ub_write
421-
func go_ub_write(threadIndex C.uintptr_t, cBuf *C.char, length C.int) (C.size_t, C.bool) {
421+
func go_ub_write(threadIndex C.uintptr_t, cBuf *C.char, length C.size_t) (C.size_t, C.bool) {
422422
thread := phpThreads[threadIndex]
423423
fc := thread.frankenPHPContext()
424424

0 commit comments

Comments
 (0)