fixed compilation problem under BeOS/x86

This commit is contained in:
cebix 2001-02-10 20:46:17 +00:00
parent 1cca65ee5b
commit cb4d38e711

View File

@ -211,7 +211,7 @@ static void init_addon()
D(bug("init sheep-net\n")); D(bug("init sheep-net\n"));
// Create packet buffer // Create packet buffer
if ((buffer_area = create_area("packet buffer", &net_buffer_ptr, B_ANY_ADDRESS, buffer_size, B_FULL_LOCK, B_READ_AREA | B_WRITE_AREA)) < B_NO_ERROR) { if ((buffer_area = create_area("packet buffer", (void **)&net_buffer_ptr, B_ANY_ADDRESS, buffer_size, B_FULL_LOCK, B_READ_AREA | B_WRITE_AREA)) < B_NO_ERROR) {
D(bug("FATAL ERROR: can't create shared area\n")); D(bug("FATAL ERROR: can't create shared area\n"));
return; return;
} }