Fix KHTML compilation when using clang.

Review Request #116545 - Created March 2, 2014 and submitted

Information
Milian Wolff
kjs
master
Reviewers
kdeframeworks
dfaure
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>(        )

  
Kevin Ottens
Commit Hook
This review has been submitted with commit dadacaf995170f44e6d392fce2c3f6c7e4967989 by Milian Wolff to branch master.
Milian Wolff
Review request changed

Status: Closed (submitted)

Loading...