Review Request: function.cpp: 290: comparison between signed and unsigned integer expressions

Guy Maurel guy-kde at maurel.de
Mon Oct 12 18:52:16 BST 2009



> On 2009-10-12 15:16:58, Maksim Orlovich wrote:
> > Why not just change the signature and adjust the caller? This isn't a public API.

OK, these ist the best.
see: scriptfunction-gm-5.diff


- Guy


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


On 2009-10-12 17:51:52, Guy Maurel wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.kde.org/r/1828/
> -----------------------------------------------------------
> 
> (Updated 2009-10-12 17:51:52)
> 
> 
> Review request for kdelibs.
> 
> 
> Summary
> -------
> 
> The kdelibs-Dashboard reports:
> /.../kdelibs/kjs/function.cpp:290: warning: comparison between signed and unsigned integer expressions
> 
> at the line
> Identifier FunctionImp::getParameterName(int index)
> 
> my proposal ist to introduce a local variable, make a proper definition of pos
> see the attachted patch.
> 
> 
> Diffs
> -----
> 
>   /trunk/KDE/kdelibs/kjs/function.cpp 1033934 
>   /trunk/KDE/kdelibs/kjs/scriptfunction.h 1033934 
> 
> Diff: http://reviewboard.kde.org/r/1828/diff
> 
> 
> Testing
> -------
> 
> at home
> 
> 
> Thanks,
> 
> Guy
> 
>





More information about the kde-core-devel mailing list