heap: make a const string const in malloc_shared_memory().

Michael
This commit is contained in:
Michael Adam 2009-08-07 09:17:49 +02:00
parent 8f50875740
commit 6a35704cdb

View File

@ -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);