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

List:       kde-commits
Subject:    kdelibs/kstyles/keramik
From:       David Faure <faure () kde ! org>
Date:       2004-11-03 20:15:38
Message-ID: 20041103201538.CBD7116C45 () office ! kde ! org
[Download RAW message or body]

CVS commit by faure: 

Fixed picky-compiler warning: make the cast from bool to int explicit.


  M +2 -2      gradients.cpp   1.8
  M +2 -2      pixmaploader.h   1.25


--- kdelibs/kstyles/keramik/gradients.cpp  #1.7:1.8
@@ -47,5 +47,5 @@ namespace
                 int key()
                 {
-                        return m_menu ^ m_width ^ (m_height << 16) ^ ((m_color)<<8);
+                        return (int)m_menu ^ m_width ^ (m_height << 16) ^ \
((m_color)<<8);  }
                 

--- kdelibs/kstyles/keramik/pixmaploader.h  #1.24:1.25
@@ -83,5 +83,5 @@ namespace Keramik
                         int key()
                         {
-                                return m_disabled ^ (m_blended << 1) ^ (m_id<<2) ^ \
(m_width<<14) ^ (m_height<<24) ^ m_colorCode ^ (m_bgCode<<8); +                       \
return (int)m_disabled ^ (m_blended << 1) ^ (m_id<<2) ^ (m_width<<14) ^ \
(m_height<<24) ^ m_colorCode ^ (m_bgCode<<8);  }
 


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

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