Define Genode::size_t as unsigned long

Fixes #2105
This commit is contained in:
Norman Feske
2016-09-15 14:40:37 +02:00
committed by Christian Helmuth
parent 7bed3967ae
commit e370e08e01
128 changed files with 280 additions and 257 deletions

View File

@ -28,8 +28,6 @@
/* Linux includes */
#include <linux_syscalls.h>
#include <sys/un.h>
#include <sys/socket.h>
using namespace Genode;
@ -69,7 +67,7 @@ struct Protocol_header
/* badge of invoked object (on call) / exception code (on reply) */
unsigned long protocol_word;
size_t num_caps;
Genode::size_t num_caps;
/* badges of the transferred capability arguments */
unsigned long badges[Msgbuf_base::MAX_CAPS_PER_MSG];

View File

@ -43,7 +43,7 @@ extern "C" int stdout_write(char const *);
extern "C" __attribute__((weak)) int stdout_write(char const *s)
{
raw(s);
return strlen(s);
return Genode::strlen(s);
}
/**