diff options
author | rbuj <[email protected]> | 2021-10-14 13:35:38 +0200 |
---|---|---|
committer | mbkma <[email protected]> | 2021-11-09 22:33:11 +0100 |
commit | 97bfa9f2304902e0a4b09f51f6e55ac67f6b836f (patch) | |
tree | 39f78df5ecfc1547c667cabd0abfbd82dda6208d /src/unit-category.c | |
parent | 38b4b11d1e597242d3427a65ec185b53e501e262 (diff) | |
download | mate-calc-97bfa9f2304902e0a4b09f51f6e55ac67f6b836f.tar.bz2 mate-calc-97bfa9f2304902e0a4b09f51f6e55ac67f6b836f.tar.xz |
cppcheck: function parameters can be declared with const
Diffstat (limited to 'src/unit-category.c')
-rw-r--r-- | src/unit-category.c | 2 |
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); |