[Bugfix] Use rdr::U32 type for length of strings handled by *CutText functions.

This avoids big buffer overflow when memcpy is called with "-1" argument.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3607 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/win/vncviewer/DesktopWindow.h b/win/vncviewer/DesktopWindow.h
index 4319b75..259b6b0 100644
--- a/win/vncviewer/DesktopWindow.h
+++ b/win/vncviewer/DesktopWindow.h
@@ -117,7 +117,7 @@
       char* getMonitor() const;
 
       // - Set the local clipboard
-      void serverCutText(const char* str, int len);
+      void serverCutText(const char* str, rdr::U32 len);
 
       // - Draw into the desktop buffer & update the window
       void fillRect(const Rect& r, Pixel pix);