aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2013-03-13 11:54:59 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2013-03-13 11:54:59 +0000
commit80580ff609b4e30a66b56b2e9f0c5bdaf2c35754 (patch)
tree7c52a35ddad9acf914de37c0703ea91fed4af57f /src
parent4a3aedc380b10a1f517ece3188b094ff4279c891 (diff)
- make ARM tests compile without errors
Diffstat (limited to 'src')
-rw-r--r--src/arm/test_arm_api.c3
-rw-r--r--src/arm/test_exponential_backoff.c3
-rw-r--r--src/arm/test_gnunet_service_arm.c3
3 files changed, 6 insertions, 3 deletions
diff --git a/src/arm/test_arm_api.c b/src/arm/test_arm_api.c
index 608c75cd34..366d4e500a 100644
--- a/src/arm/test_arm_api.c
+++ b/src/arm/test_arm_api.c
@@ -126,7 +126,8 @@ task (void *cls, char *const *args, const char *cfgfile,
GNUNET_CONFIGURATION_get_value_filename (cfg, "arm", "CONFIG",
&armconfig))
{
- GNUNET_CONFIGURATION_set_value_string (cfg, "arm", "CONFIG",
+ GNUNET_CONFIGURATION_set_value_string ((struct GNUNET_CONFIGURATION_Handle
+ *) cfg, "arm", "CONFIG",
cfgfile);
}
else
diff --git a/src/arm/test_exponential_backoff.c b/src/arm/test_exponential_backoff.c
index 19ca585211..3395139eac 100644
--- a/src/arm/test_exponential_backoff.c
+++ b/src/arm/test_exponential_backoff.c
@@ -363,7 +363,8 @@ task (void *cls, char *const *args, const char *cfgfile,
GNUNET_CONFIGURATION_get_value_filename (cfg, "arm", "CONFIG",
&armconfig))
{
- GNUNET_CONFIGURATION_set_value_string (cfg, "arm", "CONFIG",
+ GNUNET_CONFIGURATION_set_value_string ((struct GNUNET_CONFIGURATION_Handle
+ *) cfg, "arm", "CONFIG",
cfgfile);
}
else
diff --git a/src/arm/test_gnunet_service_arm.c b/src/arm/test_gnunet_service_arm.c
index d367bc6fef..9e9286ac1c 100644
--- a/src/arm/test_gnunet_service_arm.c
+++ b/src/arm/test_gnunet_service_arm.c
@@ -115,7 +115,8 @@ run (void *cls, char *const *args, const char *cfgfile,
GNUNET_CONFIGURATION_get_value_filename (c, "arm", "CONFIG",
&armconfig))
{
- GNUNET_CONFIGURATION_set_value_string (c, "arm", "CONFIG",
+ GNUNET_CONFIGURATION_set_value_string ((struct GNUNET_CONFIGURATION_Handle
+ *) c, "arm", "CONFIG",
cfgfile);
}
else