From b6ffa0f19000456fa62060f319b15801b86b20f3 Mon Sep 17 00:00:00 2001 From: Markus Gans Date: Sat, 13 Oct 2018 00:39:48 +0200 Subject: [PATCH] Avoid using dynamic_cast in source code --- src/fmenuitem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fmenuitem.cpp b/src/fmenuitem.cpp index a012f21e..b866371c 100644 --- a/src/fmenuitem.cpp +++ b/src/fmenuitem.cpp @@ -636,7 +636,7 @@ uChar FMenuItem::hotKey() length = text.getLength(); - for (std::size_t i = 0; i < length; i++) + for (uInt i = 0; i < length; i++) { try {