summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <daniel.silverstone@codethink.co.uk>2015-04-30 15:52:33 (GMT)
committer Daniel Silverstone <daniel.silverstone@codethink.co.uk>2015-04-30 15:52:33 (GMT)
commitfe1cf79a19ecf625bb46890f0ee497153e0376e0 (patch)
tree90e4ca4b1b1f4f8c79447856a94a3cd3d1dbab8e
parent15b8c5717f9058871c187dcd63ea3586f58ad9d1 (diff)
downloadlibwapcaplet-fe1cf79a19ecf625bb46890f0ee497153e0376e0.tar.gz
libwapcaplet-fe1cf79a19ecf625bb46890f0ee497153e0376e0.tar.bz2
Fix up a couple of type hiccoughs
-rw-r--r--test/basictests.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/basictests.c b/test/basictests.c
index ee8b9b3..414a2be 100644
--- a/test/basictests.c
+++ b/test/basictests.c
@@ -19,23 +19,24 @@
#ifndef NDEBUG
lwc_string *null_lwc = NULL;
+lwc_string **null_lwc_p = NULL;
/* All the basic assert() tests */
START_TEST (test_lwc_intern_string_aborts1)
{
- lwc_intern_string(NULL, 0, null_lwc);
+ lwc_intern_string(NULL, 0, null_lwc_p);
}
END_TEST
START_TEST (test_lwc_intern_string_aborts2)
{
- lwc_intern_string("A", 1, null_lwc);
+ lwc_intern_string("A", 1, null_lwc_p);
}
END_TEST
START_TEST (test_lwc_intern_substring_aborts1)
{
- lwc_intern_substring(null_lwc, 0, 0, null_lwc);
+ lwc_intern_substring(null_lwc, 0, 0, null_lwc_p);
}
END_TEST
@@ -45,7 +46,7 @@ START_TEST (test_lwc_intern_substring_aborts2)
fail_unless(lwc_intern_string("Jam", 3, &str) == lwc_error_ok,
"unable to intern 'Jam'");
- lwc_intern_substring(str, 88, 77, null_lwc);
+ lwc_intern_substring(str, 88, 77, null_lwc_p);
}
END_TEST