diff options
Diffstat (limited to 'src/node_win32_etw_provider-inl.h')
-rw-r--r-- | src/node_win32_etw_provider-inl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/node_win32_etw_provider-inl.h b/src/node_win32_etw_provider-inl.h index 0bc2170767..1934712361 100644 --- a/src/node_win32_etw_provider-inl.h +++ b/src/node_win32_etw_provider-inl.h @@ -227,8 +227,8 @@ void NODE_V8SYMBOL_ADD(LPCSTR symbol, int len) { if (events_enabled > 0) { wchar_t symbuf[128]; - if (symbol == NULL) { - SETSYMBUF(L"NULL"); + if (symbol == nullptr) { + SETSYMBUF(L"nullptr"); } else { symbol_len = MultiByteToWideChar(CP_ACP, 0, @@ -245,7 +245,7 @@ void NODE_V8SYMBOL_ADD(LPCSTR symbol, symbuf[symbol_len] = L'\0'; } } - void* context = NULL; + void* context = nullptr; INT64 size = (INT64)len; INT_PTR id = (INT_PTR)addr1; INT16 flags = 0; |