From: Rusty Russell Date: Thu, 21 Jul 2011 05:20:00 +0000 (+0930) Subject: ccan/noerr: fix compiler warning with const strings. X-Git-Url: https://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=4f844a85accfe7f00d19952e34c577766b05319c ccan/noerr: fix compiler warning with const strings. --- 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;