From 3a04a1ee6476080bf093e1be31a3e879dcb79c52 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Sun, 12 Dec 2021 09:09:50 +0100 Subject: [PATCH] Fix incorrect use of NULL (aka nullptr on wxWidgets) instead of 0 --- kicad/pcm/pcm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kicad/pcm/pcm.cpp b/kicad/pcm/pcm.cpp index 9bb06ec30a..4c586f1b8b 100644 --- a/kicad/pcm/pcm.cpp +++ b/kicad/pcm/pcm.cpp @@ -798,7 +798,7 @@ PLUGIN_CONTENT_MANAGER::GetRepositoryPackageBitmaps( const wxString& aRepository for( wxArchiveEntry* entry = zip.GetNextEntry(); entry; entry = zip.GetNextEntry() ) { wxArrayString path_parts = - wxSplit( entry->GetName(), wxFileName::GetPathSeparator(), (wxChar) NULL ); + wxSplit( entry->GetName(), wxFileName::GetPathSeparator(), (wxChar) 0 ); if( path_parts.size() != 2 || path_parts[1] != "icon.png" ) continue;