summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/datatrak.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/datatrak.c b/core/datatrak.c
index 34e9bda5b..9a0af0cc1 100644
--- a/core/datatrak.c
+++ b/core/datatrak.c
@@ -128,7 +128,7 @@ static int dtrak_prepare_data(int model, device_data_t *dev_data)
* Just get the first in the user's list for given size.
* Reaching the end of the list means there is no tank of this size.
*/
-static char *cyl_type_by_size(int size)
+static const char *cyl_type_by_size(int size)
{
struct tank_info_t *ti = tank_info;