From 18cd366896b7e0f3ce31b1c042dbb19b634fe16d Mon Sep 17 00:00:00 2001 From: steven_carr Date: Tue, 2 May 2006 20:48:13 +0000 Subject: Eliminate incompatible pointer assignment warning (gcc 4.0.1) --- libvncclient/vncviewer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libvncclient/vncviewer.c b/libvncclient/vncviewer.c index 635b987..6005b3e 100644 --- a/libvncclient/vncviewer.c +++ b/libvncclient/vncviewer.c @@ -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; } -- cgit v1.1