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.4 by cebix, 2002-01-15T14:58:36Z

# Line 1 | Line 1
1   /*
2   *  sheep_net.cpp - Net server add-on for SheepShaver and Basilisk II
3   *
4 < *  SheepShaver (C) 1997-2000 Mar"c" Hellwig and Christian Bauer
5 < *  Basilisk II (C) 1997-2000 Christian Bauer
4 > *  SheepShaver (C) 1997-2002 Marc Hellwig and Christian Bauer
5 > *  Basilisk II (C) 1997-2002 Christian Bauer
6   *
7   *  This program is free software; you can redistribute it and/or modify
8   *  it under the terms of the GNU General Public License as published by
# 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