Fixed compilation on Windows

This commit is contained in:
Andreas Schneider 2018-04-03 12:17:17 +02:00
parent 7ca7675a85
commit b370513d15
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ func ensurePassword(password *string, name string) {
}
print(name + " password: ")
b, err := terminal.ReadPassword(syscall.Stdin)
b, err := terminal.ReadPassword(int(syscall.Stdin))
println()
if err != nil {
panic(err)