Review Request 129441: Fix build on FreeBSD-i386.

Tobias Berner tcberner at gmail.com
Sun Nov 20 14:06:38 UTC 2016


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/129441/
-----------------------------------------------------------

Review request for KDE Frameworks, David Faure and Raphael Kubo da Costa.


Repository: kdelibs4support


Description
-------

/wrkdirs/usr/ports/x11/kf5-kdelibs4support/work/kdelibs4support-5.27.0/src/kdeui/kpixmapcache.cpp:1161:88:
 error: non-constant-expression cannot be narrowed from type 'quint32' (aka 'unsigned int')
 to 'time_t' (aka 'int') in initializer list [-Wc++11-narrowing]
    KPixmapCacheIndexHeader indexHeader = { {0}, KPIXMAPCACHE_VERSION, 0, d->mCacheId, d->mTimestamp };
                                             ^~~~~~~~~~~~~
/wrkdirs/usr/ports/x11/kf5-kdelibs4support/work/kdelibs4support-5.27.0/src/kdeui/kpixmapcache.cpp:1161:88:
 note: override this message by inserting an explicit cast
    KPixmapCacheIndexHeader indexHeader = { {0}, KPIXMAPCACHE_VERSION, 0, d->mCacheId, d->mTimestamp };
                                             ^~~~~~~~~~~~~
                                             static_cast<time_t>( )


Diffs
-----

  src/kdeui/kpixmapcache.cpp 2d17571706a2b42db6556fe1f44d8cb32a58ee7c 

Diff: https://git.reviewboard.kde.org/r/129441/diff/


Testing
-------

Tested on
 * 9.3-i386
 * 10.3-i386
 * 12-i368
 * 12-amd64


Thanks,

Tobias Berner

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20161120/391b3e69/attachment.html>


More information about the Kde-frameworks-devel mailing list