From 2291e703226741c3c392c944796bebf3626f0a95 Mon Sep 17 00:00:00 2001 From: Klaus Post Date: Sun, 16 Aug 2015 13:36:21 +0200 Subject: [PATCH] Match ParseInt return type. --- lock_unix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lock_unix.go b/lock_unix.go index 851071ab2..04d5005ba 100644 --- a/lock_unix.go +++ b/lock_unix.go @@ -9,7 +9,7 @@ import ( // uidGidInt returns uid, gid of the user as a number. func uidGidInt(u user.User) (uid, gid uint32, err error) { - var ui, gi int + var ui, gi int64 ui, err = strconv.ParseInt(u.Uid, 10, 32) if err != nil { return