From 8d041ff283a940eb3b2abddcc2693eda2ab8dc97 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Thu, 12 Mar 2009 22:23:00 +0100 Subject: replace CSS_LENGTH_* macros with inline functions --- src/cssparser.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cssparser.cc') diff --git a/src/cssparser.cc b/src/cssparser.cc index 0fb0d3d8..87d58dbd 100644 --- a/src/cssparser.cc +++ b/src/cssparser.cc @@ -670,10 +670,10 @@ static bool Css_parse_value(CssParser * parser, CssValueType type, CssPropertyValue * val) { - int i, lentype; + CssLengthType lentype; bool found, ret = false; float fval; - int ival, err = 1; + int i, ival, err = 1; switch (type) { case CSS_TYPE_ENUM: -- cgit v1.2.3