summaryrefslogtreecommitdiffhomepage
path: root/misc.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-05-14 00:28:30 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-05-14 00:30:52 +0200
commit7e10ebe1010898c48e3f1cfc12ad42d0bb5c0fa1 (patch)
treec0a43be046bf87808ab7dd8839b8a3cd650cacde /misc.go
parente21ea58db36b8caf3b7da075c9c39505449d0110 (diff)
Introduce rwcancel
Diffstat (limited to 'misc.go')
-rw-r--r--misc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc.go b/misc.go
index f94a617..85a2e80 100644
--- a/misc.go
+++ b/misc.go
@@ -47,7 +47,7 @@ func toInt32(n uint32) int32 {
return int32(-(n & mask) + (n & ^mask))
}
-func min(a uint, b uint) uint {
+func min(a, b uint) uint {
if a > b {
return b
}