summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Tkac <atkac@redhat.com>2009-06-16 10:48:01 +0000
committerAdam Tkac <atkac@redhat.com>2009-06-16 10:48:01 +0000
commitb1b8ef2215287dfbe4fefd9252e756e0b67ac581 (patch)
tree27996e12e11a2b8a03da834b54e298f21b03750f
parent78b1959361bd4397613890da40d70ebf67b4a7bc (diff)
downloadtigervnc-b1b8ef2215287dfbe4fefd9252e756e0b67ac581.tar.gz
tigervnc-b1b8ef2215287dfbe4fefd9252e756e0b67ac581.zip
[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
-rw-r--r--unix/vncviewer/CConn.cxx2
-rw-r--r--unix/vncviewer/CConn.h2
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);