aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/css.cc3
-rw-r--r--src/css.hh2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/css.cc b/src/css.cc
index a3df0b47..036db8d1 100644
--- a/src/css.cc
+++ b/src/css.cc
@@ -21,7 +21,8 @@ using namespace dw::core::style;
void CssProperty::print () {
fprintf (stderr, "%s - %d\n",
- CssParser::propertyNameString((CssPropertyName)name),value.intVal);
+ CssParser::propertyNameString((CssPropertyName)name),
+ (int)value.intVal);
}
CssPropertyList::~CssPropertyList () {
diff --git a/src/css.hh b/src/css.hh
index db8db282..1d7dc547 100644
--- a/src/css.hh
+++ b/src/css.hh
@@ -225,7 +225,7 @@ typedef enum {
} CssPropertyName;
typedef union {
- int intVal;
+ int32_t intVal;
char *strVal;
} CssPropertyValue;