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:
@@ -170,7 +170,7 @@ void wxStackFrame::OnGetParam()
|
||||
if ( !wxDbgHelpDLL::CallSymEnumSymbols
|
||||
(
|
||||
::GetCurrentProcess(),
|
||||
NULL, // DLL base: use current context
|
||||
0, // DLL base: use current context
|
||||
EnumSymbolsProc, // callback
|
||||
this // data to pass to it
|
||||
) )
|
||||
|
Reference in New Issue
Block a user