summaryrefslogtreecommitdiff
path: root/src/math-converter.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-14 13:35:38 +0200
committermbkma <[email protected]>2021-11-09 22:33:11 +0100
commit97bfa9f2304902e0a4b09f51f6e55ac67f6b836f (patch)
tree39f78df5ecfc1547c667cabd0abfbd82dda6208d /src/math-converter.c
parent38b4b11d1e597242d3427a65ec185b53e501e262 (diff)
downloadmate-calc-97bfa9f2304902e0a4b09f51f6e55ac67f6b836f.tar.bz2
mate-calc-97bfa9f2304902e0a4b09f51f6e55ac67f6b836f.tar.xz
cppcheck: function parameters can be declared with const
Diffstat (limited to 'src/math-converter.c')
-rw-r--r--src/math-converter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math-converter.c b/src/math-converter.c
index 10d5336..5f8dccf 100644
--- a/src/math-converter.c
+++ b/src/math-converter.c
@@ -196,7 +196,7 @@ math_converter_get_category(MathConverter *converter)
static gboolean
-iter_is_unit(GtkTreeModel *model, GtkTreeIter *iter, Unit *unit)
+iter_is_unit(GtkTreeModel *model, GtkTreeIter *iter, const Unit *unit)
{
Unit *u;