diff --git a/src/env_universal_common.cpp b/src/env_universal_common.cpp index a0b4ebfdc..71fb1667d 100644 --- a/src/env_universal_common.cpp +++ b/src/env_universal_common.cpp @@ -129,7 +129,7 @@ static int check_runtime_path(const char * path) */ struct stat statpath; - u_int uid = geteuid(); + uid_t uid = geteuid(); if (mkdir(path, S_IRWXU) != 0 && errno != EEXIST) return errno;