Review Request 129441: Fix build on FreeBSD-i386.

Tobias Berner tcberner at gmail.com
Sun Nov 20 15:35:51 UTC 2016


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

(Updated Nov. 20, 2016, 4:35 p.m.)


Status
------

This change has been marked as submitted.


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


Changes
-------

Submitted with commit 071cafe32212ced460c64ed56111387be975d1ae by Tobias C. Berner to branch master.


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/5a63093c/attachment.html>


More information about the Kde-frameworks-devel mailing list