Eliminate incompatible pointer assignment warning (gcc 4.0.1)

pull/1/head
steven_carr 19 years ago
parent 422491c98a
commit 18cd366896

@ -118,7 +118,7 @@ rfbClient* rfbGetClient(int bitsPerSample,int samplesPerPixel,
client->serverPort=5900;
client->CurrentKeyboardLedState = 0;
client->HandleKeyboardLedState = DummyPoint;
client->HandleKeyboardLedState = (HandleKeyboardLedStateProc)DummyPoint;
client->format.bitsPerPixel = bytesPerPixel*8;
client->format.depth = bitsPerSample*samplesPerPixel;
@ -175,7 +175,7 @@ rfbClient* rfbGetClient(int bitsPerSample,int samplesPerPixel,
client->MallocFrameBuffer = MallocFrameBuffer;
client->Bell = Dummy;
client->CurrentKeyboardLedState = 0;
client->HandleKeyboardLedState = DummyPoint;
client->HandleKeyboardLedState = (HandleKeyboardLedStateProc)DummyPoint;
return client;
}

Loading…
Cancel
Save