On Tuesday, 17 de May de 2011 08:40:49 Frans Klaver wrote: > On Tue, May 17, 2011 at 8:13 AM, Yves Bailly <[email protected]> wrote: > >> If we change it, it will be to ssize_t. > >> > >> Unsigned integers cause too many warnings about mixing signedness. > > > > That's true. And warnings are... well, warnings, i.e. a sign of > > something that might be wrong somewhere. So wouldn't it be better to > > just "cure" those warnings, to avoid any possible issue sign-related? > > Curing this is done by making a clear choice. Obviously the choice has > been made to use signed integers.
Indeed. That's also the reason why we use ints: if they are used for
everything, there are no warnings about mixing signedness or losing precision
due to casting to a smaller type.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Qt5-feedback mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback
