Browse Source

ccan/noerr: fix compiler warning with const strings.

Rusty Russell 14 years ago
parent
commit
4f844a85ac
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ccan/noerr/test/run.c

+ 1 - 1
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;