summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/qnx/qqnxbuffer.cpp
diff options
context:
space:
mode:
authorRafael Roquetto <rafael.roquetto.qnx@kdab.com>2012-10-13 16:12:28 -0300
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-10-13 23:24:01 +0200
commit7edaf253d5e5baa0368e08d2cec82ad9fb507f21 (patch)
tree91e288a2fb44c4b2630afeb168b0b205a6cbf297 /src/plugins/platforms/qnx/qqnxbuffer.cpp
parent386eb2a5c0ebbdf101a3c2e3d094402223669d6a (diff)
QNX: code cleanup, use '0' instead of 'NULL'
Qt coding style uses always 0. NULL is wrong. Change-Id: I163677b512214f853677d21d75f13142fe2ca88d Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/plugins/platforms/qnx/qqnxbuffer.cpp')
-rw-r--r--src/plugins/platforms/qnx/qqnxbuffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/qnx/qqnxbuffer.cpp b/src/plugins/platforms/qnx/qqnxbuffer.cpp
index ed3ea49d44..9007af7f70 100644
--- a/src/plugins/platforms/qnx/qqnxbuffer.cpp
+++ b/src/plugins/platforms/qnx/qqnxbuffer.cpp
@@ -88,7 +88,7 @@ QQnxBuffer::QQnxBuffer(screen_buffer_t buffer)
if (result != 0) {
qFatal("QQNX: failed to query buffer pointer, errno=%d", errno);
}
- if (dataPtr == NULL) {
+ if (dataPtr == 0) {
qFatal("QQNX: buffer pointer is NULL, errno=%d", errno);
}