diff options
author | steven_carr <steven_carr> | 2006-05-02 20:48:13 +0000 |
---|---|---|
committer | steven_carr <steven_carr> | 2006-05-02 20:48:13 +0000 |
commit | 18cd366896b7e0f3ce31b1c042dbb19b634fe16d (patch) | |
tree | 82138b8b3d48306a67394e1a9ab4b5716e9990b5 | |
parent | 422491c98ad260075ac5f819527906f4369550ef (diff) | |
download | libvncserver-18cd366896b7e0f3ce31b1c042dbb19b634fe16d.zip libvncserver-18cd366896b7e0f3ce31b1c042dbb19b634fe16d.tar.gz |
Eliminate incompatible pointer assignment warning (gcc 4.0.1)
-rw-r--r-- | libvncclient/vncviewer.c | 4 |
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; } |