Skip to content

Commit

Permalink
Fix plan9 build (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
ncw authored and mattn committed Nov 12, 2019
1 parent 0e9ddb7 commit 2a2f0ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion isatty_plan9.go
Expand Up @@ -8,7 +8,7 @@ import (

// IsTerminal returns true if the given file descriptor is a terminal.
func IsTerminal(fd uintptr) bool {
path, err := syscall.Fd2path(fd)
path, err := syscall.Fd2path(int(fd))
if err != nil {
return false
}
Expand Down

0 comments on commit 2a2f0ea

Please sign in to comment.