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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Gilles Caulier
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: [hidden email]

 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++;
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel