From f966909500a521e5d2b0acdc37165d9b33783bc6 Mon Sep 17 00:00:00 2001 From: Cacodemon345 Date: Sat, 26 Feb 2022 14:28:16 +0600 Subject: [PATCH] qt: Fix compile error --- src/qt/qt_newfloppydialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qt/qt_newfloppydialog.cpp b/src/qt/qt_newfloppydialog.cpp index 694dc769e..6eb43c960 100644 --- a/src/qt/qt_newfloppydialog.cpp +++ b/src/qt/qt_newfloppydialog.cpp @@ -301,7 +301,7 @@ bool NewFloppyDialog::create86f(const QString& filename, const disk_size_t& disk break; } - empty = (unsigned char *) malloc(array_size); + auto empty = (unsigned char *) malloc(array_size); memset(tarray, 0, 2048); memset(empty, 0, array_size);