From 4f844a85accfe7f00d19952e34c577766b05319c Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Thu, 21 Jul 2011 14:50:00 +0930 Subject: [PATCH] ccan/noerr: fix compiler warning with const strings. --- ccan/noerr/test/run.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ccan/noerr/test/run.c b/ccan/noerr/test/run.c index 503ba81c..d5d48584 100644 --- a/ccan/noerr/test/run.c +++ b/ccan/noerr/test/run.c @@ -9,7 +9,7 @@ int main(int argc, char *argv[]) { - char *name = "noerr.file"; + const char *name = "noerr.file"; int fd; FILE *fp; -- 2.39.2