From 17cbd670c0f9bb54605c44892a05efbe0434319a Mon Sep 17 00:00:00 2001 From: rods Date: Mon, 6 Jul 1998 20:27:57 +0000 Subject: [PATCH] Fixed cast git-svn-id: svn://10.0.0.236/trunk@5055 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/widget/src/motif/nsComboBox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }