summaryrefslogtreecommitdiffstats
path: root/tests/libdimension
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-10-22 01:04:46 +0000
committerTavian Barnes <tavianator@gmail.com>2009-10-22 01:04:46 +0000
commitdac8734d739931b4a0068a5f4610913b13ca228c (patch)
treec84efda2b38418a75bdce2b00dd09ac35212ec8a /tests/libdimension
parent0ece2dd07fe4b3139ea2f8472f419d135e46eced (diff)
downloaddimension-dac8734d739931b4a0068a5f4610913b13ca228c.tar.xz
Fix NULL assignment to integer value in test library.
Diffstat (limited to 'tests/libdimension')
-rw-r--r--tests/libdimension/tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libdimension/tests.c b/tests/libdimension/tests.c
index d8adae3..e1cf55e 100644
--- a/tests/libdimension/tests.c
+++ b/tests/libdimension/tests.c
@@ -169,7 +169,7 @@ dmnsn_new_display(const dmnsn_canvas *canvas)
display->dpy = NULL;
display->win = 0;
- display->cmap = NULL;
+ display->cmap = 0;
display->cx = NULL;
display->vi = NULL;