[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/apps/konq-plugins/domtreeviewer
From:       Patrick von Reth <patrick.vonreth () gmail ! com>
Date:       2011-01-25 9:39:03
Message-ID: 20110125093903.9E1F5AC8B9 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1216964 by vonreth:

fixed windows x64 compiling, see http://doc.trolltech.com/4.7/qtglobal.html#qptrdiff-typedef

 M  +1 -1      domtreecommands.cpp  


--- trunk/KDE/kdebase/apps/konq-plugins/domtreeviewer/domtreecommands.cpp #1216963:1216964
@@ -84,7 +84,7 @@
 // collection of nodes for which to emit the nodeChanged signal
 inline static bool operator <(const DOM::Node &n1, const DOM::Node &n2)
 {
-  return (long)n1.handle() - (long)n2.handle() < 0;
+  return (qptrdiff)n1.handle() - (qptrdiff)n2.handle() < 0;
 }
 
 class ChangedNodeSet : public QMap<DOM::Node, bool>
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic