From f98d003e354a1792117b7cbc771d1dd91475a156 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 18 Mar 2011 17:48:29 +0200 Subject: Fix most old style cast except manaserv and libxml2 defines. --- src/dropshortcut.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dropshortcut.cpp') diff --git a/src/dropshortcut.cpp b/src/dropshortcut.cpp index 55046c0f6..6976f3f1f 100644 --- a/src/dropshortcut.cpp +++ b/src/dropshortcut.cpp @@ -63,7 +63,7 @@ void DropShortcut::load(bool oldConfig) for (int i = 0; i < DROP_SHORTCUT_ITEMS; i++) { - int itemId = (int) cfg->getValue("drop" + toString(i), -1); + int itemId = static_cast(cfg->getValue("drop" + toString(i), -1)); if (itemId != -1) mItems[i] = itemId; -- cgit v1.2.3-70-g09d2