mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-22 13:31:08 +00:00
fixed compilation problem under BeOS/x86
This commit is contained in:
parent
1cca65ee5b
commit
cb4d38e711
@ -211,7 +211,7 @@ static void init_addon()
|
||||
D(bug("init sheep-net\n"));
|
||||
|
||||
// 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"));
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user