Index: ProcessMonitor.cpp =================================================================== --- ProcessMonitor.cpp +++ ProcessMonitor.cpp @@ -964,8 +964,13 @@ lldb_utility::PseudoTerminal terminal; const size_t err_len = 1024; char err_str[err_len]; - lldb::pid_t pid; + // XXX: This should be ideally lldb::pid_t but + // currently lldb defines pid_t as unsigned 64-bit + // everywhere, while FreeBSD defines the type as + // signed 32-bits. + int32_t pid; + // Propagate the environment if one is not supplied. if (envp == NULL || envp[0] == NULL) envp = const_cast(environ);