Skip to content

Commit fa2199d

Browse files
committed
up uint -> size_t
1 parent 6e6cce5 commit fa2199d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

msspi.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ func (c *Handler) SetNextProtos(NextProtos []string) error {
217217
alpns.WriteString(proto)
218218
}
219219

220-
C.msspi_set_alpn(c.handle, (*C.char)(unsafe.Pointer(&alpns.Bytes()[0])), C.uint(alpns.Len()))
220+
C.msspi_set_alpn(c.handle, (*C.char)(unsafe.Pointer(&alpns.Bytes()[0])), C.size_t(alpns.Len()))
221221
return nil
222222
}
223223

0 commit comments

Comments
 (0)