commit | d9fc6041e7cba69fe42419bafaeaaa7cfeb6d8c2 | [log] [tgz] |
---|---|---|
author | Vadim Yanitskiy <axilirator@gmail.com> | Wed Jun 12 15:49:03 2019 +0700 |
committer | fixeria <axilirator@gmail.com> | Wed Jun 12 11:29:06 2019 +0000 |
tree | 5a97fb684fcbf68977a1a4bb71fc88418777f300 | |
parent | 6df2e44404bd710b13539a09450117f755498c65 [diff] |
core/utils: drop meaningless const from return value of osmo_luhn() Change-Id: I085da06f31a0a6862ae2ba041fafc134cc240f7e
diff --git a/src/utils.c b/src/utils.c index c38f530..7b7178c 100644 --- a/src/utils.c +++ b/src/utils.c
@@ -993,7 +993,7 @@ * \param[in] in_len Count of digits to use for the input (14 for IMEI). * \returns checksum char (e.g. '3'); negative on error */ -const char osmo_luhn(const char* in, int in_len) +char osmo_luhn(const char* in, int in_len) { int i, sum = 0;