[Digikam-devel] [Bug 274455] build fails in kmemoryinfo - invalid conversion from 'void*' to 'kstat_named_t*'

tropikhajma tropikhajma at gmail.com
Mon May 30 23:50:27 BST 2011


https://bugs.kde.org/show_bug.cgi?id=274455





--- Comment #1 from tropikhajma <tropikhajma gmail com>  2011-05-31 00:50:26 ---
actually, this is better:

--- core/libs/3rdparty/kmemoryinfo/kmemoryinfo_backend.cpp.orig  2011-05-29
21:00:51.239385429 +0200
+++ core/libs/3rdparty/kmemoryinfo/kmemoryinfo_backend.cpp       2011-05-29
21:04:44.065370487 +0200
@@ -245,7 +245,8 @@
         //sg_set_error(SG_ERROR_KSTAT_READ, NULL);
         return false;
     }
-    if((kn=kstat_data_lookup(ksp, "freemem")) == NULL){
+    if((kn=(kstat_named_t *)kstat_data_lookup(ksp, "freemem")) == NULL){
+    
         //sg_set_error(SG_ERROR_KSTAT_DATA_LOOKUP, "freemem");
         return false;
     }

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list