# | Line 211 | Line 211 | static void init_addon() | |
---|---|---|
211 | D(bug("init sheep-net\n")); | |
212 | ||
213 | // Create packet buffer | |
214 | < | 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) { |
214 | > | 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) { |
215 | D(bug("FATAL ERROR: can't create shared area\n")); | |
216 | return; | |
217 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |