From c90c13ca4a6e873e6ed31a5a69f343eca03a414f Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Sat, 22 Oct 2022 20:31:31 -0400 Subject: Warning on defining variables with zero size --- ui/commands.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/commands.h') diff --git a/ui/commands.h b/ui/commands.h index 2b1ab86c..3530e8ad 100644 --- a/ui/commands.h +++ b/ui/commands.h @@ -16,7 +16,7 @@ bool BINARYNINJAUIAPI inputNameForType( bool BINARYNINJAUIAPI InferArraySize(TypeRef& type, size_t selectionSize); bool BINARYNINJAUIAPI askForNewType(QWidget* parent, BinaryViewRef data, FunctionRef func, const std::string& title, - TypeRef& type, BinaryNinja::QualifiedName& name); + bool allowZeroSize, TypeRef& type, BinaryNinja::QualifiedName& name); bool BINARYNINJAUIAPI inputNewType(QWidget* parent, BinaryViewRef data, FunctionRef currentFunction, uint64_t currentAddr, size_t selectionSize, HighlightTokenState& highlight); bool BINARYNINJAUIAPI createInferredMember(QWidget* parent, BinaryViewRef data, HighlightTokenState& highlight, -- cgit v1.3.1