summaryrefslogtreecommitdiffstats
path: root/src/object/sp-polygon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/object/sp-polygon.cpp')
-rw-r--r--src/object/sp-polygon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/sp-polygon.cpp b/src/object/sp-polygon.cpp
index 205120cfa..979005888 100644
--- a/src/object/sp-polygon.cpp
+++ b/src/object/sp-polygon.cpp
@@ -102,7 +102,7 @@ static gboolean polygon_get_value(gchar const **p, gdouble *v)
return true;
}
-void SPPolygon::set(unsigned int key, const gchar* value) {
+void SPPolygon::set(SPAttributeEnum key, const gchar* value) {
switch (key) {
case SP_ATTR_POINTS: {
if (!value) {