From ab68c570a97ba81827209c1379942285e0215acf Mon Sep 17 00:00:00 2001 From: psykose Date: Mon, 8 Jan 2024 10:17:36 +0000 Subject: [PATCH] Debugger: initialise SavedAddress.address with 0 instead of NULL --- pcsx2-qt/Debugger/Models/SavedAddressesModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2-qt/Debugger/Models/SavedAddressesModel.cpp b/pcsx2-qt/Debugger/Models/SavedAddressesModel.cpp index ab07832b73..db8534fa3a 100644 --- a/pcsx2-qt/Debugger/Models/SavedAddressesModel.cpp +++ b/pcsx2-qt/Debugger/Models/SavedAddressesModel.cpp @@ -119,7 +119,7 @@ Qt::ItemFlags SavedAddressesModel::flags(const QModelIndex& index) const void SavedAddressesModel::addRow() { - const SavedAddress defaultNewAddress = {NULL, "Name", "Description"}; + const SavedAddress defaultNewAddress = {0, "Name", "Description"}; addRow(defaultNewAddress); }