summaryrefslogtreecommitdiffstats
path: root/bin/syncqt
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2013-01-24 16:14:59 -0800
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-26 11:04:12 +0100
commit5544208e2286f29cc113d268df3923f0f2a3fbee (patch)
tree307cfa13ae83635800d90ef7c1433faa527d1ed6 /bin/syncqt
parent4bb5566632ea6510c67fb8cf28cfe7dd4801488f (diff)
Fix warning about type-punned pointers
The d->buffer array was 2x the required size and every other void* actually stored a DBINT (int) indicating the binding status of the null. The qIsNull function checked that value, but got the warning printed. Instead, let's just do the right thing and have a struct for each column. Solves the problem more neatly. Change-Id: I2daaf05c876da7e0e13fb983c58916d946518846 Reviewed-by: Robin Burchell <robin+qt@viroteck.net> Reviewed-by: Mark Brand <mabrand@mabrand.nl>
Diffstat (limited to 'bin/syncqt')
0 files changed, 0 insertions, 0 deletions