From d4d3ae4dfc74e5e2d1e1101c44dc5904f09e8dd5 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Wed, 14 Oct 2020 07:31:22 -0400 Subject: [PATCH] Fix compile error. --- test_regress/t/t_vpi_var.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_regress/t/t_vpi_var.cpp b/test_regress/t/t_vpi_var.cpp index 205345bde..8de2707f9 100644 --- a/test_regress/t/t_vpi_var.cpp +++ b/test_regress/t/t_vpi_var.cpp @@ -427,7 +427,7 @@ int _mon_check_string() { vpi_get_value(vh1, &v); if (vpi_chk_error(&e)) { printf("%%vpi_chk_error : %s\n", e.message); } - (void)vpi_chk_error(nullptr); + (void)vpi_chk_error(NULL); CHECK_RESULT_CSTR_STRIP(v.value.str, text_test_obs[i].initial);