diff --git a/src/system/libroot/posix/unistd/conf.cpp b/src/system/libroot/posix/unistd/conf.cpp index 323a6b9099..5ae51e9f68 100644 --- a/src/system/libroot/posix/unistd/conf.cpp +++ b/src/system/libroot/posix/unistd/conf.cpp @@ -112,7 +112,7 @@ __sysconf(int name) case _SC_NPROCESSORS_ONLN: { system_info info; - int i; + unsigned int i; int count = 0; err = get_system_info(&info); if (err < B_OK) { @@ -375,7 +375,7 @@ size_t confstr(int name, char *buffer, size_t length) { size_t stringLength = 0; - char *string = ""; + const char *string = ""; if (!length || !buffer) { __set_errno(EINVAL);