diff --git a/src/unix/dlunix.cpp b/src/unix/dlunix.cpp index 1905c97aca..cf51417a25 100644 --- a/src/unix/dlunix.cpp +++ b/src/unix/dlunix.cpp @@ -285,7 +285,7 @@ wxDynamicLibraryDetailsArray wxDynamicLibrary::ListLoaded() void* wxDynamicLibrary::GetModuleFromAddress(const void* addr, wxString* path) { #ifdef HAVE_DLADDR - Dl_info di = { 0 }; + Dl_info di = { }; // 0 initialize whatever fields the struct has // At least under Solaris dladdr() takes non-const void*. if ( dladdr(const_cast(addr), &di) == 0 )