Review Request 116545: Fix KHTML compilation when using clang.

Milian Wolff mail at milianw.de
Wed Mar 5 09:26:00 UTC 2014


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

(Updated March 5, 2014, 9:26 a.m.)


Status
------

This change has been marked as submitted.


Review request for KDE Frameworks and David Faure.


Repository: kjs


Description
-------

Fix KHTML compilation when using clang.

In file included from src/ecma/kjs_traversal.cpp:21:
src/kjs_traversal.lut.h:49:18: error: constant expression
evaluates to 4294967295 which cannot be narrowed to type 'int'
[-Wc++11-narrowing]
   { "SHOW_ALL", DOM::NodeFilter::SHOW_ALL,
      KJS::DontDelete|KJS::ReadOnly, 0, 0 } ,

src/kjs_traversal.lut.h:49:18: note: override this message by
inserting an explicit cast
   { "SHOW_ALL", DOM::NodeFilter::SHOW_ALL,
                 ^~~~~~~~~~~~~~~~~~~~~~~~~
                 static_cast<int>(        )


Diffs
-----

  src/kjs/create_hash_table 94f3e4358a6d78fc7c658369d65b0e75ca131bc8 

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


Testing
-------


Thanks,

Milian Wolff

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140305/6ab6d7d9/attachment.html>


More information about the Kde-frameworks-devel mailing list