Review Request 116541: Fix compiler error when using clang:

Commit Hook null at kde.org
Wed Mar 5 09:27:53 UTC 2014


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


This review has been submitted with commit 7ed8ac1ae23a31d2eb227ffa15d68b2beaf8f37d by Milian Wolff to branch master.

- Commit Hook


On March 2, 2014, 8:12 p.m., Milian Wolff wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/116541/
> -----------------------------------------------------------
> 
> (Updated March 2, 2014, 8:12 p.m.)
> 
> 
> Review request for KDE Frameworks and Martin Tobias Holmedahl Sandsmark.
> 
> 
> Repository: khtml
> 
> 
> Description
> -------
> 
> 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>( )
> 
> 
> Diffs
> -----
> 
>   src/misc/AtomicString.cpp 4c35662ddd47759ed7e70524ededdd5223c14c09 
> 
> Diff: https://git.reviewboard.kde.org/r/116541/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Milian Wolff
> 
>

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


More information about the Kde-frameworks-devel mailing list