summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-10-22 17:38:24 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-10-22 17:38:24 +0000
commitb22d2d2bbd2e89628acf41157eeebfb83a11e21c (patch)
tree30b2e281496c237adf4f6af8ff0e45a3d80640ca
parente980b1bc6fedd2e6bfbe6b7b99c466acc6281afe (diff)
downloadtdenetwork-b22d2d2bbd2e89628acf41157eeebfb83a11e21c.tar.gz
tdenetwork-b22d2d2bbd2e89628acf41157eeebfb83a11e21c.zip
Revert int size change in krfb.h
When connecting to an AMD64 krfb server, it will not accept the correct password due to a word size issue. This was a regression somewhere around 2008, the Debian bug mail refers to it. Thanks to Nick Leverton for the patch! git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1260217 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--krfb/libvncserver/rfb.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/krfb/libvncserver/rfb.h b/krfb/libvncserver/rfb.h
index 2131c7a8..56dce45e 100644
--- a/krfb/libvncserver/rfb.h
+++ b/krfb/libvncserver/rfb.h
@@ -40,14 +40,7 @@ extern "C"
/* TODO: this stuff has to go into autoconf */
typedef unsigned char CARD8;
typedef unsigned short CARD16;
-
-#ifdef LONG64
-typedef unsigned long CARD64;
typedef unsigned int CARD32;
-#else
-typedef unsigned long CARD32;
-#endif
-
typedef CARD32 Pixel;
/* typedef CARD32 KeySym; */
#ifndef __osf__