mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-01 06:33:56 +00:00
update getPid type to int32
This commit is contained in:
parent
69b4f4210f
commit
b5f3ccb41f
@ -1322,9 +1322,9 @@ func GetTitle() string {
|
||||
}
|
||||
|
||||
// GetPID get the process id
|
||||
func GetPID() int {
|
||||
func GetPID() int32 {
|
||||
pid := C.get_PID()
|
||||
return int(pid)
|
||||
return int32(pid)
|
||||
}
|
||||
|
||||
// Pids get the all process id
|
||||
|
Loading…
Reference in New Issue
Block a user