Yeah, right, switching back to allwarnings-awareness. Stupid me.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8524 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Philippe Houdoin 2004-08-01 14:16:18 +00:00
parent ff24e0c4ab
commit 612899f22c
2 changed files with 2 additions and 2 deletions

View File

@ -134,7 +134,7 @@ static status_t process_input(net_layer *me, net_buffer *buffer)
if (!buffer)
return B_ERROR;
if (g_stack->find_buffer_attribute(buffer, ethernet_protocol_attr, 0, NULL, &protocol, NULL) != B_OK)
if (g_stack->find_buffer_attribute(buffer, ethernet_protocol_attr, 0, NULL, (void **) &protocol, NULL) != B_OK)
return B_ERROR;
if (*protocol != htons(0x0806)) // ARP on Ethernet protocol value

View File

@ -118,7 +118,7 @@ static status_t process_input(net_layer *me, net_buffer *buffer)
if (!buffer)
return B_ERROR;
if (g_stack->find_buffer_attribute(buffer, ethernet_protocol_attr, 0, NULL, &protocol, NULL) != B_OK)
if (g_stack->find_buffer_attribute(buffer, ethernet_protocol_attr, 0, NULL, (void **) &protocol, NULL) != B_OK)
return B_ERROR;
if (*protocol != htons(0x0800)) // IPv4 on Ethernet protocol value