[Digikam-devel] branches/stable/extragear/graphics/digikam/kioslave

Gilles Caulier caulier.gilles at free.fr
Sun Mar 26 08:27:32 BST 2006


SVN commit 522589 by cgilles:

Digikam from stable : Fix wrong cast into kioslave. This bug crash digikam during album item thumbs rendering or stop it to the first item of each album

Nota : these patch have been already applied to trunk branch (0.9.0-svn)

CCMAIL: digikam-devel at kde.org
CCBUGS: 121905


 M  +1 -1      digikamalbums.cpp  
 M  +1 -1      digikamdates.cpp  
 M  +1 -1      digikamsearch.cpp  
 M  +1 -1      digikamtags.cpp  


--- branches/stable/extragear/graphics/digikam/kioslave/digikamalbums.cpp #522588:522589
@@ -206,7 +206,7 @@
         os << albumid;
         os << name;
         os << date;
-        os << stbuf.st_size;
+        os << static_cast<size_t>(stbuf.st_size);
         os << dims;
     }
 
--- branches/stable/extragear/graphics/digikam/kioslave/digikamdates.cpp #522588:522589
@@ -248,7 +248,7 @@
                 *os << dirid;
                 *os << name;
                 *os << date;
-                *os << stbuf.st_size;
+                *os << static_cast<size_t>(stbuf.st_size);
                 *os << dims;
 
                 count++;
--- branches/stable/extragear/graphics/digikam/kioslave/digikamsearch.cpp #522588:522589
@@ -214,7 +214,7 @@
             *os << dirid;
             *os << name;
             *os << date;
-            *os << stbuf.st_size;
+            *os << static_cast<size_t>(stbuf.st_size);
             *os << dims;
 
             count++;
--- branches/stable/extragear/graphics/digikam/kioslave/digikamtags.cpp #522588:522589
@@ -193,7 +193,7 @@
         *os << dirid;
         *os << name;
         *os << date;
-        *os << stbuf.st_size;
+        *os << static_cast<size_t>(stbuf.st_size);
         *os << dims;
 
         count++;



More information about the Digikam-devel mailing list