From 7277c13bf87a16c02e8da0cfb0ed12699f51c1b4 Mon Sep 17 00:00:00 2001 From: Thorsten Roeder Date: Thu, 13 Apr 2006 10:17:08 +0000 Subject: [PATCH] unbreak compilation with gcc-3.3. As stated on k-c-d gcc-3.3 should be supported for now. svn path=/trunk/KDE/kdebase/workspace/; revision=529391 --- rules.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules.cpp b/rules.cpp index 4790acd959..6c28c228be 100644 --- a/rules.cpp +++ b/rules.cpp @@ -123,7 +123,7 @@ void Rules::readFromCfg( KConfig& cfg ) READ_MATCH_STRING( title, ); READ_MATCH_STRING( extrarole, .toLower().toLatin1() ); READ_MATCH_STRING( clientmachine, .toLower().toLatin1() ); - types = cfg.readEntry( "types", NET::AllTypesMask ).toULongLong(); + types = cfg.readEntry( "types", static_cast(NET::AllTypesMask) ); READ_FORCE_RULE2( placement,QString(), Placement::policyFromString,false ); READ_SET_RULE_DEF( position, , invalidPoint ); READ_SET_RULE( size,, QSize());