diff lib/csharpcomp.c @ 7586:4a8b5467d8b2

Make it compile in C++ mode.
author Bruno Haible <bruno@clisp.org>
date Tue, 31 Oct 2006 19:18:54 +0000
parents 1c4ed7637c24
children a162347a0232
line wrap: on
line diff
--- a/lib/csharpcomp.c
+++ b/lib/csharpcomp.c
@@ -400,7 +400,8 @@
 
       argp = argv;
       *argp++ = "csc";
-      *argp++ = (output_is_library ? "-target:library" : "-target:exe");
+      *argp++ =
+	(char *) (output_is_library ? "-target:library" : "-target:exe");
       {
 	char *option = (char *) xallocsa (5 + strlen (output_file) + 1);
 	memcpy (option, "-out:", 5);