From 6a35704cdb2e930069917331612cd3c894dc1165 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 7 Aug 2009 09:17:49 +0200 Subject: heap: make a const string const in malloc_shared_memory(). Michael --- src/heap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/heap.c b/src/heap.c index 0e451a4..3ab9212 100644 --- a/src/heap.c +++ b/src/heap.c @@ -111,7 +111,7 @@ malloc_shared_memory (size_t size) void *ptr; char buffer[32]; - static char *shared_file = "/tmp/tinyproxy.shared.XXXXXX"; + static const char *shared_file = "/tmp/tinyproxy.shared.XXXXXX"; assert (size > 0); -- cgit v1.2.3