diff options
author | Jorge Arellano Cid <jcid@dillo.org> | 2009-07-17 11:55:11 -0400 |
---|---|---|
committer | Jorge Arellano Cid <jcid@dillo.org> | 2009-07-17 11:55:11 -0400 |
commit | c19939e97903f0db0f83fa66e7f3789829e2f119 (patch) | |
tree | 3786d771e1cfa638bf7669090f7cc76424421053 | |
parent | 26b1a102575efb7f812f4b0c16ccdfbffe0085b3 (diff) |
Fix an implicit int cast error when int != int32_t
-rw-r--r-- | src/css.cc | 3 | ||||
-rw-r--r-- | src/css.hh | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -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 () { @@ -225,7 +225,7 @@ typedef enum { } CssPropertyName; typedef union { - int intVal; + int32_t intVal; char *strVal; } CssPropertyValue; |