Bug 835635: Cast ArrayLength() result to (signed) 'gint' type in #define for CUSTOM_VALUE_INDEX, since we compare it to gint values all over the place. r=karlt

This commit is contained in:
Daniel Holbert 2013-01-28 18:58:07 -08:00
parent 7b8fecff50
commit c378192382

View File

@ -36,7 +36,7 @@ using namespace mozilla::widget;
static const char header_footer_tags[][4] = {"", "&T", "&U", "&D", "&P", "&PT"};
#define CUSTOM_VALUE_INDEX ArrayLength(header_footer_tags)
#define CUSTOM_VALUE_INDEX gint(ArrayLength(header_footer_tags))
static GtkWindow *
get_gtk_window_for_nsiwidget(nsIWidget *widget)