Re: [Development] [Proposal] Replace size related parameters with size_t

2013-12-24 Thread Thiago Macieira
On terça-feira, 24 de dezembro de 2013 19:26:27, Kurt Pattyn wrote: > QString, QByteArray, QList, aso often use sign integers to store sizes, > indexing, aso. This often leads to signed/unsigned mismatches and is not > really according standard practice. No, they don't. That's why we use int ever

Re: [Development] [Proposal] Replace size related parameters with size_t

2013-12-24 Thread Yves Bailly
On 24/12/2013 19:26, Kurt Pattyn wrote: > QString, QByteArray, QList, aso often use sign integers to store sizes, > indexing, aso. > This often leads to signed/unsigned mismatches and is not really according > standard practice. > Also, this restricts the indexes, sizes, aso to 32-bit. 31-bit ac

[Development] [Proposal] Replace size related parameters with size_t

2013-12-24 Thread Kurt Pattyn
QString, QByteArray, QList, aso often use sign integers to store sizes, indexing, aso. This often leads to signed/unsigned mismatches and is not really according standard practice. Also, this restricts the indexes, sizes, aso to 32-bit. One solution to resolve the signed/unsigned mismatch is to c