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

Gilles Caulier caulier.gilles at free.fr
Wed Mar 15 21:10:45 GMT 2006


SVN commit 518981 by cgilles:

digiKam from trunk : BUGFIX in kioslave :

Marc Espie from OpenBSD team have investigate why album thumbs rendering is broken to the first item into openBSD. There is a portability into kioslave about 'st_size' system definition ('long long' instead  'unsigned long').

Any digikam users have reported a problem with thumbs rendering under Linux. I suspect that we have the same problem than OpenBSD. Please give me a report for that.

CCMAIL: digikam-devel at kde.org

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


--- trunk/extragear/graphics/digikam/kioslave/digikamalbums.cpp #518980:518981
@@ -206,7 +206,7 @@
         os << albumid;
         os << name;
         os << date;
-        os << stbuf.st_size;
+        os << static_cast<size_t>(stbuf.st_size);
         os << dims;
     }
 
--- trunk/extragear/graphics/digikam/kioslave/digikamdates.cpp #518980:518981
@@ -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++;
--- trunk/extragear/graphics/digikam/kioslave/digikamsearch.cpp #518980:518981
@@ -216,7 +216,7 @@
             *os << dirid;
             *os << name;
             *os << date;
-            *os << stbuf.st_size;
+            *os << static_cast<size_t>(stbuf.st_size);
             *os << dims;
 
             count++;
--- trunk/extragear/graphics/digikam/kioslave/digikamtags.cpp #518980:518981
@@ -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