Commit 18cd3668 authored by steven_carr's avatar steven_carr

Eliminate incompatible pointer assignment warning (gcc 4.0.1)

parent 422491c9
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment