From: Adam Tkac Date: Tue, 16 Jun 2009 10:48:01 +0000 (+0000) Subject: [Bugfix] Client didn't receive clipboard selections from a server due wrong X-Git-Tag: v0.0.91~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b1b8ef2215287dfbe4fefd9252e756e0b67ac581;p=tigervnc.git [Bugfix] Client didn't receive clipboard selections from a server due wrong CConn::serverCutText prototype. Reference: https://bugzilla.redhat.com/show_bug.cgi?id=503271 git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1_0@3840 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- 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);