fix warnings

This commit is contained in:
François Revol
2015-04-21 00:25:30 +02:00
parent 7dd1073833
commit c3bffc88c9
+2 -2
View File
@@ -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);