update getPid type to int32

This commit is contained in:
vcaesar 2018-07-29 23:33:19 +08:00
parent 69b4f4210f
commit b5f3ccb41f

View File

@ -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