diff options
Diffstat (limited to 'src/pulsecore/pid.c')
-rw-r--r-- | src/pulsecore/pid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pulsecore/pid.c b/src/pulsecore/pid.c index 588349b6f..e347884ad 100644 --- a/src/pulsecore/pid.c +++ b/src/pulsecore/pid.c @@ -147,7 +147,7 @@ static int proc_name_ours(pid_t pid, const char *procname) { return -1; } else { char *expected; - pa_bool_t good; + bool good; char stored[64]; if (!(fgets(stored, sizeof(stored), f))) { @@ -208,7 +208,7 @@ int pa_pid_file_create(const char *procname) { int ours = 1; #ifdef OS_IS_WIN32 - if ((process = OpenProcess(PROCESS_QUERY_INFORMATION, FALSE, pid)) != NULL) { + if ((process = OpenProcess(PROCESS_QUERY_INFORMATION, false, pid)) != NULL) { CloseHandle(process); #else if (kill(pid, 0) >= 0 || errno != ESRCH) { |