You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
551 B
12 lines
551 B
Index: pkg/mod/github.com/godbus/dbus/v5@v5.1.0/transport_unixcred_freebsd.go |
|
--- pkg/mod/github.com/godbus/dbus/v5@v5.1.0/transport_unixcred_freebsd.go.orig 2023-11-02 09:06:35.000000000 +0100 |
|
+++ pkg/mod/github.com/godbus/dbus/v5@v5.1.0/transport_unixcred_freebsd.go 2023-11-02 09:16:07.147890000 +0100 |
|
@@ -41,7 +41,7 @@ |
|
func cmsgAlignOf(salen int) int { |
|
salign := C.sizeofPtr |
|
|
|
- return (salen + salign - 1) & ^(salign - 1) |
|
+ return (int(salen) + int(salign) - 1) & ^(int(salign) - 1) |
|
} |
|
|
|
// http://golang.org/src/pkg/syscall/sockcmsg_unix.go
|
|
|