From c3bffc88c907b63e1ef27d9ba571bdd0116ab48b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Tue, 21 Apr 2015 00:24:43 +0200 Subject: [PATCH] fix warnings --- src/system/libroot/posix/unistd/conf.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);