aboutsummaryrefslogtreecommitdiff
path: root/src/cssparser.cc
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-03-12 22:23:00 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-03-12 22:23:00 +0100
commit8d041ff283a940eb3b2abddcc2693eda2ab8dc97 (patch)
treefa476929fac610d7881fbfb3eaffc2b27e47d09a /src/cssparser.cc
parent6110dbfaaf79dad91b089edf273bf839f229b76e (diff)
replace CSS_LENGTH_* macros with inline functions
Diffstat (limited to 'src/cssparser.cc')
-rw-r--r--src/cssparser.cc4
1 files changed, 2 insertions, 2 deletions
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: