diff options
author | João Abecasis <joao.abecasis@nokia.com> | 2012-04-04 15:00:41 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-11 02:26:41 +0200 |
commit | 6abfc992b9d70837d42fcef3f2e2637464063899 (patch) | |
tree | 61cc582bba6fba2dc49e5d3d20cebb656895ca40 /tests/baselineserver/shared/baselineprotocol.cpp | |
parent | d4f3052a1b210c09976883afbe0fac087171be4f (diff) |
Make reallocData() take (unsigned) size, including null
The parameter represents an allocation size and unsigned matches the
Q*Data::alloc member it ultimately represents (even if they currently
differ in accounting for the null).
There's still work up for grabs to ensure we avoid integer overflows
when growing.
Change-Id: Ib092fec37ec2ceed37bebfdc52e2de27b336328f
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/baselineserver/shared/baselineprotocol.cpp')
0 files changed, 0 insertions, 0 deletions