Summary: | build fails in kmemoryinfo - invalid conversion from 'void*' to 'kstat_named_t*' | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | tropikhajma <tropikhajma> |
Component: | Portability-Compilation | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 2.0.0 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Solaris | ||
Latest Commit: | Version Fixed In: | 2.0.0 | |
Sentry Crash Report: |
Description
tropikhajma
2011-05-29 21:10:11 UTC
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; } Git commit a376a9a1fe803a732bd286fdbedc38707c10fbca by Gilles Caulier. Committed on 05/06/2011 at 21:30. Pushed by cgilles into branch 'master'. build under Solaris BUGS: 274455 M +19 -19 libs/3rdparty/kmemoryinfo/kmemoryinfo_backend.cpp http://commits.kde.org/digikam/a376a9a1fe803a732bd286fdbedc38707c10fbca |