Skip to content

Commit 92541e6

Browse files
committed
chore: inline cast
1 parent b77b37a commit 92541e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

unix/syscall_linux.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2459,10 +2459,10 @@ func Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *
24592459
// So the number of words needed is ⌈__C_NSIG - 1 / wordBits⌉.
24602460
sigsetWords := (_C__NSIG - 1 + wordBits - 1) / (wordBits)
24612461

2462-
sigsetBytes := sigsetWords * (wordBits / 8)
2462+
sigsetBytes := uintptr(sigsetWords * (wordBits / 8))
24632463
kernelMask = &sigset_argpack{
24642464
ss: sigmask,
2465-
ssLen: uintptr(sigsetBytes),
2465+
ssLen: sigsetBytes,
24662466
}
24672467
}
24682468

0 commit comments

Comments
 (0)