fix warning
authorlurchi <lurchi@strangeplace.net>
Sat, 29 Jun 2019 11:05:28 +0000 (13:05 +0200)
committerlurchi <lurchi@strangeplace.net>
Sat, 29 Jun 2019 11:05:28 +0000 (13:05 +0200)
src/util/os_installation.c

index e0568e6dd11e7b8bc5b28c2f31a8d8286e58bd9a..46f87869373cf54fc6a7200495c3903478168519 100644 (file)
@@ -820,7 +820,7 @@ char *
 GNUNET_OS_get_suid_binary_path (const struct GNUNET_CONFIGURATION_Handle *cfg,
                                 const char *progname)
 {
-  static const char *cache;
+  static char *cache;
   char *binary = NULL;
   char *path = NULL;
   size_t path_len;