diff options
author | George Kiagiadakis <[email protected]> | 2010-11-10 18:57:13 +0000 |
---|---|---|
committer | Johannes Schindelin <[email protected]> | 2011-04-28 11:42:59 +0200 |
commit | 35246edddd952a6d83511f69cba47536495e4700 (patch) | |
tree | ea10ab42c5c059dc245b1061068d3de49263daa9 /libvncserver/rfbserver.c | |
parent | d8fca9d013a8da92499cb3889dd0f53d3b4e437f (diff) | |
download | libtdevnc-35246edddd952a6d83511f69cba47536495e4700.tar.gz libtdevnc-35246edddd952a6d83511f69cba47536495e4700.zip |
Fix compilation in c89 mode.
Signed-off-by: Johannes Schindelin <[email protected]>
Diffstat (limited to 'libvncserver/rfbserver.c')
-rw-r--r-- | libvncserver/rfbserver.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libvncserver/rfbserver.c b/libvncserver/rfbserver.c index 70ae88b..8f0e390 100644 --- a/libvncserver/rfbserver.c +++ b/libvncserver/rfbserver.c @@ -636,7 +636,7 @@ rfbProcessClientProtocolVersion(rfbClientPtr cl) void -rfbClientSendString(rfbClientPtr cl, char *reason) +rfbClientSendString(rfbClientPtr cl, const char *reason) { char *buf; int len = strlen(reason); @@ -661,7 +661,7 @@ rfbClientSendString(rfbClientPtr cl, char *reason) void rfbClientConnFailed(rfbClientPtr cl, - char *reason) + const char *reason) { char *buf; int len = strlen(reason); @@ -1104,7 +1104,7 @@ rfbBool rfbSendTextChatMessage(rfbClientPtr cl, uint32_t length, char *buffer) int DB = 1; -rfbBool rfbSendFileTransferMessage(rfbClientPtr cl, uint8_t contentType, uint8_t contentParam, uint32_t size, uint32_t length, char *buffer) +rfbBool rfbSendFileTransferMessage(rfbClientPtr cl, uint8_t contentType, uint8_t contentParam, uint32_t size, uint32_t length, const char *buffer) { rfbFileTransferMsg ft; ft.type = rfbFileTransfer; |