summaryrefslogtreecommitdiff
path: root/src/cssparser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/cssparser.cc')
-rw-r--r--src/cssparser.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cssparser.cc b/src/cssparser.cc
index ca41781e..8131372a 100644
--- a/src/cssparser.cc
+++ b/src/cssparser.cc
@@ -412,7 +412,7 @@ static const CssShorthandInfo Css_shorthand_info[] = {
};
#define CSS_SHORTHAND_NUM \
- (sizeof(Css_shorthand_info) / sizeof(CssShorthandInfo))
+ (sizeof(Css_shorthand_info) / sizeof(Css_shorthand_info[0]))
/* ----------------------------------------------------------------------
* Parsing