From 7aedce7c70feda37a96abdbaace7a862d84a436d Mon Sep 17 00:00:00 2001 From: vcaesar Date: Tue, 19 Mar 2019 10:39:36 -0400 Subject: [PATCH] update unix get title type --- robotgo_unix.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/robotgo_unix.go b/robotgo_unix.go index a14a100..2f592da 100644 --- a/robotgo_unix.go +++ b/robotgo_unix.go @@ -42,8 +42,8 @@ func GetBounds(pid int32, args ...int) (int, int, int, int) { } // internalGetTitle get the window title -func internalGetTitle(pid int32, args ...int) string { - var hwnd int +func internalGetTitle(pid int32, args ...int32) string { + var hwnd int32 if len(args) > 0 { hwnd = args[0]