Re: cppcheck on Dillo source

"Sebastian Geerken" <[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Message-ID <[email protected]>
> > Checking ../../slackbuilds/dillo/hg/dillo/dw/hyphenator.cc...
> > [../../slackbuilds/dillo/hg/dillo/dw/hyphenator.cc:570]: (warning) %u in format
> > string (no. 1) requires 'unsigned int *' but the argument type is 'int *'.
> > Checking ../../slackbuilds/dillo/hg/dillo/dw/hyphenator.cc...
> > [../../slackbuilds/dillo/hg/dillo/dw/hyphenator.cc:570]: (warning) %u in format
> > string (no. 2) requires 'unsigned int *' but the argument type is 'int *'.
> 
>   It may be a trivial s/%u/%d/, but after reading it a bit I'd prefer
> Sebastian to double check it.
> 
>   Not committed.

I've looked at this, and this is rather Johannes' code. I'm not sure
whether negative may cause troubles.

Sebastian

_______________________________________________
Dillo-dev mailing list
[email protected]
http://lists.dillo.org/cgi-bin/mailman/listinfo/dillo-dev
signature.asc (application/pgp-signature, 473 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJXhWPVAAoJEAw7+YHB+ZL6lrgH/jNx4ZdhtMrrz3r/YIjH7Rhn
4TAVStpdI6XA8G5Kmi/BEJ3X1jgyWCM350cFIqERF6eDw8NzywqZFp8dwxzOu2ZO
edzvRvB6RO6NsJz7EiefAT7MQ0rmix06tg8VKMe9RQ+ApbNdYKqWN/bfcZxtfc9M
8tFKQWBx5+dYunnIHLm72oRXSGPXCu9Syw0QIunsTrd9Ss2vlQ2fQy7flUdMRGcr
/A/PcxgNGl8kezWxfD56htTwvnPhEdfTGRqP6+nIREiQiEkOF3rY0UT75rsI17YP
ci9zgUjCReQBnlRMk9FRDrYxLKH3koW8EBslzvTRHfb+HF5Pb5qcfPOUHz66dgI=
=K5am
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.