summaryrefslogtreecommitdiffstats
path: root/src/object/sp-mesh-patch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/object/sp-mesh-patch.cpp')
-rw-r--r--src/object/sp-mesh-patch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/sp-mesh-patch.cpp b/src/object/sp-mesh-patch.cpp
index 15149b689..1331bf79b 100644
--- a/src/object/sp-mesh-patch.cpp
+++ b/src/object/sp-mesh-patch.cpp
@@ -72,7 +72,7 @@ void SPMeshpatch::build(SPDocument* doc, Inkscape::XML::Node* repr) {
/**
* Virtual build: set meshpatch attributes from its associated XML node.
*/
-void SPMeshpatch::set(unsigned int key, const gchar* value) {
+void SPMeshpatch::set(SPAttributeEnum key, const gchar* value) {
switch (key) {
case SP_ATTR_TENSOR: {
if (value) {