aboutsummaryrefslogtreecommitdiff
path: root/src/css.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/css.hh')
-rw-r--r--src/css.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/css.hh b/src/css.hh
index 991a926e..d28e78eb 100644
--- a/src/css.hh
+++ b/src/css.hh
@@ -8,7 +8,7 @@ class CssProperty {
public:
typedef union {
int intVal;
- char *strVal;
+ const char *strVal;
} Value;
typedef enum {
@@ -123,7 +123,7 @@ class CssPropertyList : public lout::misc::SimpleVector <CssProperty> {
static CssPropertyList *parse (const char *buf);
void set (CssProperty::Name name, CssProperty::Value value);
- void set (CssProperty::Name name, char *value) {
+ void set (CssProperty::Name name, const char *value) {
CssProperty::Value v;
v.strVal = value;
set (name, v);