summaryrefslogtreecommitdiff
path: root/indra/newview/llsplitbutton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llsplitbutton.cpp')
-rw-r--r--indra/newview/llsplitbutton.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llsplitbutton.cpp b/indra/newview/llsplitbutton.cpp
index 77eedeaf2f..6c252ed31f 100644
--- a/indra/newview/llsplitbutton.cpp
+++ b/indra/newview/llsplitbutton.cpp
@@ -216,7 +216,7 @@ LLSplitButton::LLSplitButton(const LLSplitButton::Params& p)
//a panel for hidden item buttons
LLPanel::Params panel_params = p.items_panel;
- mItemsPanel= prepareItemsPanel(panel_params, p.items.numValidElements());
+ mItemsPanel= prepareItemsPanel(panel_params, static_cast<S32>(p.items.numValidElements()));
addChild(mItemsPanel);