summaryrefslogtreecommitdiff
path: root/src/ast-parser-lexer-shared.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast-parser-lexer-shared.cc')
-rw-r--r--src/ast-parser-lexer-shared.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ast-parser-lexer-shared.cc b/src/ast-parser-lexer-shared.cc
index 8e5ef684..b7e7ffa9 100644
--- a/src/ast-parser-lexer-shared.cc
+++ b/src/ast-parser-lexer-shared.cc
@@ -47,7 +47,7 @@ void wabt_ast_format_error(WabtSourceErrorHandler* error_handler,
len = wabt_vsnprintf(buffer, len + 1, format, args_copy);
}
- char* source_line = NULL;
+ char* source_line = nullptr;
size_t source_line_length = 0;
int source_line_column_offset = 0;
size_t source_line_max_length = error_handler->source_line_max_length;