summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEgmont Koblinger <egmont@gmail.com>2017-03-16 22:07:40 +0100
committerEgmont Koblinger <egmont@gmail.com>2017-03-16 22:08:46 +0100
commit67a4853b5fb13baacb94286328993746985e75c6 (patch)
treefd573032e068acdf5270db0a14eed565d16ec2fc
parent88ff20cf8aa8252c0bdf6312195331fed5794486 (diff)
downloadvte-67a4853b5fb13baacb94286328993746985e75c6.tar.gz
build: Fix compilation of unittests0.46.2
https://bugzilla.gnome.org/show_bug.cgi?id=780146 (cherry picked from commit a31a41d2a93ef45c3940d714f82f58c6b3f9d7d8)
-rw-r--r--src/vteconv.cc2
-rw-r--r--src/vtetypes.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/vteconv.cc b/src/vteconv.cc
index b78d3928..3cd159e7 100644
--- a/src/vteconv.cc
+++ b/src/vteconv.cc
@@ -771,7 +771,7 @@ int
main (int argc,
char *argv[])
{
- g_test_init (&argc, &argv, NULL);
+ g_test_init (&argc, &argv, nullptr);
g_test_add_func ("/vte/conv/utf8/strlen", test_utf8_strlen);
g_test_add_func ("/vte/conv/utf8/validate", test_utf8_validate);
diff --git a/src/vtetypes.cc b/src/vtetypes.cc
index 1365a295..119c3b55 100644
--- a/src/vtetypes.cc
+++ b/src/vtetypes.cc
@@ -407,7 +407,7 @@ test_util_smart_fd(void)
int
main(int argc, char *argv[])
{
- g_test_init (&argc, &argv, NULL);
+ g_test_init (&argc, &argv, nullptr);
g_test_add_func("/vte/c++/grid/coords", test_grid_coords);
g_test_add_func("/vte/c++/grid/span", test_grid_span);