Review Request 129219: Fix gcc 6.2 compile error.

Ralf Habacker ralf.habacker at freenet.de
Wed Oct 19 09:50:50 BST 2016


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

Review request for kdelibs.


Repository: kdelibs


Description
-------

This commit fixes the following error on compiling khtml/ecma/kjs_views.cpp
 In file included from ...khtml/ecma/kjs_traversal.cpp:22:0:
   ...build/khtml/kjs_traversal.lut.h:54:1: error: narrowing conversion
     of '(DOM::NodeFilter::ShowCode)4294967295u' from 'unsigned int' to
    'int' inside { } [-Wnarrowing]


Diffs
-----

  khtml/dom/dom2_traversal.h c09fd5525200648c2f65f8204e2dd03669635f23 

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


Testing
-------

Compiled with gcc 6.2 at https://build.opensuse.org/public/build/windows:mingw/openSUSE_Factory/x86_64/kdelibs4/_log

Bug has been detected with 4.14.10 and is not fixed in KDE/4.14 branch.


Thanks,

Ralf Habacker

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20161019/32a7a278/attachment.htm>


More information about the kde-core-devel mailing list