diff --git a/mozilla/widget/src/motif/nsComboBox.cpp b/mozilla/widget/src/motif/nsComboBox.cpp index 65512d39b94..ba6f6bf577f 100644 --- a/mozilla/widget/src/motif/nsComboBox.cpp +++ b/mozilla/widget/src/motif/nsComboBox.cpp @@ -94,7 +94,7 @@ void nsComboBox::AddItemAt(nsString &aItem, PRInt32 aPosition) if (mNumItems == mMaxNumItems) { // [TODO] Grow array here by ITEMS_GROWSIZE } - mItems[mNumItems++] = (long)btn; + mItems[mNumItems++] = btn; NS_FREE_STR_BUF(val); }