ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/BeOS/SheepNet/sheep_net.cpp
(Generate patch)

Comparing BasiliskII/src/BeOS/SheepNet/sheep_net.cpp (file contents):
Revision 1.1 by cebix, 2000-11-13T16:59:42Z vs.
Revision 1.2 by cebix, 2001-02-10T20:46:17Z

# 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          }      

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines