summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteven_carr <steven_carr>2006-05-02 20:48:13 +0000
committersteven_carr <steven_carr>2006-05-02 20:48:13 +0000
commit18cd366896b7e0f3ce31b1c042dbb19b634fe16d (patch)
tree82138b8b3d48306a67394e1a9ab4b5716e9990b5
parent422491c98ad260075ac5f819527906f4369550ef (diff)
downloadlibtdevnc-18cd3668.tar.gz
libtdevnc-18cd3668.zip
Eliminate incompatible pointer assignment warning (gcc 4.0.1)
-rw-r--r--libvncclient/vncviewer.c4
1 files 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;
}