summaryrefslogtreecommitdiff
path: root/src/unit-category.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unit-category.c')
-rw-r--r--src/unit-category.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unit-category.c b/src/unit-category.c
index 72f50d5..af4fb18 100644
--- a/src/unit-category.c
+++ b/src/unit-category.c
@@ -104,7 +104,7 @@ unit_category_get_units(UnitCategory *category)
gboolean
-unit_category_convert(UnitCategory *category, const MPNumber *x, Unit *x_units, Unit *z_units, MPNumber *z)
+unit_category_convert(const UnitCategory *category, const MPNumber *x, Unit *x_units, Unit *z_units, MPNumber *z)
{
g_return_val_if_fail (category != NULL, FALSE);
g_return_val_if_fail (x_units != NULL, FALSE);