mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
- Fix compilation errors with GCC 4.0-20041205.
svn path=/trunk/; revision=12084
This commit is contained in:
parent
963cbda1e0
commit
b5fa0b44a1
3 changed files with 6 additions and 5 deletions
|
@ -105,13 +105,13 @@ int TCPPacketSend(void *ClientData, OSK_PCHAR data, OSK_UINT len ) {
|
|||
void *TCPMalloc( void *ClientData,
|
||||
OSK_UINT Bytes, OSK_PCHAR File, OSK_UINT Line ) {
|
||||
void *v = PoolAllocateBuffer( Bytes );
|
||||
if( v ) TrackWithTag( FOURCC('f','b','s','d'), v, File, Line );
|
||||
if( v ) TrackWithTag( FOURCC('f','b','s','d'), v, (PCHAR)File, Line );
|
||||
return v;
|
||||
}
|
||||
|
||||
void TCPFree( void *ClientData,
|
||||
void *data, OSK_PCHAR File, OSK_UINT Line ) {
|
||||
UntrackFL( File, Line, data );
|
||||
UntrackFL( (PCHAR)File, Line, data );
|
||||
PoolFreeBuffer( data );
|
||||
}
|
||||
|
||||
|
|
|
@ -552,7 +552,7 @@ NTSTATUS TCPReceiveData
|
|||
ULONG ReceiveFlags,
|
||||
PTCP_COMPLETION_ROUTINE Complete,
|
||||
PVOID Context ) {
|
||||
PCHAR DataBuffer;
|
||||
OSK_PCHAR DataBuffer;
|
||||
UINT DataLen, Received = 0;
|
||||
NTSTATUS Status;
|
||||
PTDI_BUCKET Bucket;
|
||||
|
@ -623,7 +623,8 @@ NTSTATUS TCPSendData
|
|||
Connection->SocketContext));
|
||||
|
||||
Status = OskitTCPSend( Connection->SocketContext,
|
||||
BufferData, PacketSize, (PUINT)DataUsed, 0 );
|
||||
(OSK_PCHAR)BufferData, PacketSize,
|
||||
(PUINT)DataUsed, 0 );
|
||||
|
||||
TcpipRecursiveMutexLeave( &TCPLock );
|
||||
|
||||
|
|
|
@ -85,7 +85,7 @@
|
|||
/* Exported to machdep.c. */
|
||||
struct callout *callfree, *callout;
|
||||
|
||||
static struct callout calltodo;
|
||||
struct callout calltodo;
|
||||
|
||||
long tk_cancc;
|
||||
long tk_nin;
|
||||
|
|
Loading…
Reference in a new issue