Review Request: types.cpp:39: warning: comparison between signed and unsigned integer expressions

Maksim Orlovich maksim.orlovich at kdemail.net
Sat Oct 17 21:36:34 BST 2009


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/1836/#review2688
-----------------------------------------------------------

Ship it!


Adding the U is fine... Please don't add in the new commented line from this diff though.

- Maksim


On 2009-10-13 17:40:40, Guy Maurel wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.kde.org/r/1836/
> -----------------------------------------------------------
> 
> (Updated 2009-10-13 17:40:40)
> 
> 
> Review request for kdelibs.
> 
> 
> Summary
> -------
> 
> The dashboard
>   http://dashboard.akonadi-project.org/CDash/index.php?project=kdelibs
> reports:
> /.../kdelibs/kjs/bytecode/generator/types.cpp:39: warning: comparison between signed and unsigned integer expressions
> 
> at
> static unsigned neededBits(unsigned vals)
> 
> my proposal: make a static_cast
> see: types-gm-7.diff
> 
> 
> Diffs
> -----
> 
>   /trunk/KDE/kdelibs/kjs/bytecode/generator/types.cpp 1033934 
> 
> Diff: http://reviewboard.kde.org/r/1836/diff
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Guy
> 
>





More information about the kde-core-devel mailing list