Use 0 instead of NULL for a non-pointer SymEnumSymbols() argument

The base DLL address passed to this function is not a pointer, so don't use
NULL here to avoid warnings from gcc.
This commit is contained in:
Vadim Zeitlin
2016-03-14 01:03:21 +01:00
parent 841af56084
commit 423b631dff

View File

@@ -170,7 +170,7 @@ void wxStackFrame::OnGetParam()
if ( !wxDbgHelpDLL::CallSymEnumSymbols if ( !wxDbgHelpDLL::CallSymEnumSymbols
( (
::GetCurrentProcess(), ::GetCurrentProcess(),
NULL, // DLL base: use current context 0, // DLL base: use current context
EnumSymbolsProc, // callback EnumSymbolsProc, // callback
this // data to pass to it this // data to pass to it
) ) ) )