[Kde-bindings] KDE/kdebindings/csharp/qyoto

Richard Dale Richard_Dale at tipitina.demon.co.uk
Tue May 29 15:31:24 UTC 2007


SVN commit 669517 by rdale:

* Try Arno's suggestion of 'return (int) (qint64) o->ptr;' in the
  QyotoHash f'n to make it compile on all architectures.

CCMAIL: kde-bindings at kde.org



 M  +5 -0      ChangeLog  
 M  +1 -1      src/qyoto.cpp  


--- trunk/KDE/kdebindings/csharp/qyoto/ChangeLog #669516:669517
@@ -1,3 +1,8 @@
+2007-05-29  Richard Dale  <rdale at foton.es>
+
+	* Try Arno's suggestion of 'return (int) (qint64) o->ptr;' in the
+	  QyotoHash f'n to make it compile on all architectures.
+
 2007-05-28  Arno Rehn  <arno at arnorehn.de>
 
 	* Updated the code of the first tutorials to be more like C++ ones.
--- trunk/KDE/kdebindings/csharp/qyoto/src/qyoto.cpp #669516:669517
@@ -1668,7 +1668,7 @@
 		qint64 key = (qint64) o->ptr;
 		return (int) ((key >> (8 * sizeof(int) - 1)) ^ key);
 	} else {
-		return (int) (o->ptr & 0xFFFFFFFF);
+		return (int) (qint64) o->ptr;
 	}
 }
 



More information about the Kde-bindings mailing list