mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
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:
parent
7b8fecff50
commit
c378192382
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user