From d802d392811be44d34ae9cd23f616db93e54c50f Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Sun, 9 Mar 2014 21:14:26 +0100 Subject: clang-modernize -use-nullptr and s/\bNULL\b/nullptr/g for *.cpp/h/mm files not compiled on my machine --- Source/Core/DolphinWX/ARCodeAddEdit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/DolphinWX/ARCodeAddEdit.cpp') diff --git a/Source/Core/DolphinWX/ARCodeAddEdit.cpp b/Source/Core/DolphinWX/ARCodeAddEdit.cpp index 7825ec20ef..ec8934d5c9 100644 --- a/Source/Core/DolphinWX/ARCodeAddEdit.cpp +++ b/Source/Core/DolphinWX/ARCodeAddEdit.cpp @@ -112,8 +112,8 @@ void CARCodeAddEdit::SaveCheatData(wxCommandEvent& WXUNUSED (event)) if (pieces.size() == 2 && pieces[0].size() == 8 && pieces[1].size() == 8) { // Decrypted code line. - u32 addr = strtoul(pieces[0].c_str(), NULL, 16); - u32 value = strtoul(pieces[1].c_str(), NULL, 16); + u32 addr = strtoul(pieces[0].c_str(), nullptr, 16); + u32 value = strtoul(pieces[1].c_str(), nullptr, 16); decryptedLines.push_back(ActionReplay::AREntry(addr, value)); continue; -- cgit v1.2.3