diff options
Diffstat (limited to 'unix')
-rw-r--r-- | unix/vncviewer/CConn.cxx | 2 | ||||
-rw-r--r-- | unix/vncviewer/CConn.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/unix/vncviewer/CConn.cxx b/unix/vncviewer/CConn.cxx index 8a9dfcff..fed6db39 100644 --- a/unix/vncviewer/CConn.cxx +++ b/unix/vncviewer/CConn.cxx @@ -389,7 +389,7 @@ void CConn::setColourMapEntries(int firstColour, int nColours, rdr::U16* rgbs) void CConn::bell() { XBell(dpy, 0); } -void CConn::serverCutText(const char* str, int len) { +void CConn::serverCutText(const char* str, rdr::U32 len) { desktop->serverCutText(str,len); } diff --git a/unix/vncviewer/CConn.h b/unix/vncviewer/CConn.h index 3bf0a82e..e3f17c3c 100644 --- a/unix/vncviewer/CConn.h +++ b/unix/vncviewer/CConn.h @@ -80,7 +80,7 @@ public: void setName(const char* name); void setColourMapEntries(int firstColour, int nColours, rdr::U16* rgbs); void bell(); - void serverCutText(const char* str, int len); + void serverCutText(const char* str, rdr::U32 len); void framebufferUpdateStart(); void framebufferUpdateEnd(); void beginRect(const rfb::Rect& r, unsigned int encoding); |