Fix compiler error when using clang:

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

Information
Milian Wolff
khtml
master
Reviewers
kdeframeworks
sandsmark
Fix compiler error when using clang:

src/misc/AtomicString.cpp:175:28: error: non-constant-expression
 cannot be narrowed from type 'int' to 'unsigned int' in initializer
 list [-Wc++11-narrowing]
    UCharBuffer buf = { s, length };
                           ^~~~~~
src/misc/AtomicString.cpp:175:28: note: override this message by
 inserting an explicit cast
    UCharBuffer buf = { s, length };
                           ^~~~~~
                           static_cast<unsigned int>( )

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

Status: Closed (submitted)

Loading...