Fix some warnings, now showing up when building, thanks Ingo!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4610 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -130,7 +130,7 @@ static void r5_notify_select_event(selectsync *sync, uint32 ref);
|
||||
static status_t init_connection(void **cookie);
|
||||
static void shutdown_connection(net_server_cookie *nsc);
|
||||
static net_command *get_command(net_server_cookie *nsc, int32 *index);
|
||||
static status_t execute_command(net_server_cookie *nsc, int32 op, void *data, uint32 length);
|
||||
static status_t execute_command(net_server_cookie *nsc, uint32 op, void *data, uint32 length);
|
||||
|
||||
/*
|
||||
* Global variables
|
||||
@@ -697,7 +697,7 @@ set_command_areas(net_command *command)
|
||||
|
||||
|
||||
static status_t
|
||||
execute_command(net_server_cookie *nsc, int32 op, void *data, uint32 length)
|
||||
execute_command(net_server_cookie *nsc, uint32 op, void *data, uint32 length)
|
||||
{
|
||||
uint32 command_index;
|
||||
net_command *command = get_command(nsc, (long *) &command_index);
|
||||
@@ -751,7 +751,7 @@ init_connection(void **cookie)
|
||||
{
|
||||
net_connection connection;
|
||||
ssize_t bytes;
|
||||
int32 msg;
|
||||
uint32 msg;
|
||||
|
||||
net_server_cookie *nsc = (net_server_cookie *) malloc(sizeof(net_server_cookie));
|
||||
if (nsc == NULL)
|
||||
|
||||
Reference in New Issue
Block a user