From 0e328f267643c725ea3bc9bc6ac21cf35b2ea233 Mon Sep 17 00:00:00 2001 From: Omar Tarabai Date: Mon, 14 Apr 2014 14:46:37 +0000 Subject: [PATCH] warning fix --- src/sensor/gnunet-service-sensor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sensor/gnunet-service-sensor.c b/src/sensor/gnunet-service-sensor.c index 82da2c993..eaf117b21 100644 --- a/src/sensor/gnunet-service-sensor.c +++ b/src/sensor/gnunet-service-sensor.c @@ -218,7 +218,7 @@ version_parse(char *version, uint16_t *major, uint16_t *minor) * @param sectionname configuration section containing definition */ static struct SensorInfo * -load_sensor_from_cfg(struct GNUNET_CONFIGURATION_Handle *cfg, char *sectionname) +load_sensor_from_cfg(struct GNUNET_CONFIGURATION_Handle *cfg, const char *sectionname) { struct SensorInfo *sensor; char *versionstr; @@ -263,7 +263,7 @@ static struct SensorInfo * load_sensor_from_file(const char *filename) { struct GNUNET_CONFIGURATION_Handle *sensorcfg; - char *filebasename; + const char *filebasename; struct SensorInfo *sensor; //test file -- 2.25.1