Mercurial > projects > ldc
diff dmd/statement.c @ 794:661384d6a936
Fix warnings on x86-64. By fvbommel.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Fri, 28 Nov 2008 21:24:08 +0100 |
parents | f08e0ff8d28c |
children | bc982f1ad106 |
line wrap: on
line diff
--- a/dmd/statement.c Thu Nov 27 18:31:09 2008 +0100 +++ b/dmd/statement.c Fri Nov 28 21:24:08 2008 +0100 @@ -2135,7 +2135,7 @@ if (e->op == TOKstring) { StringExp *se = (StringExp *)e; - fprintf(stdmsg, "%.*s", (int)se->len, se->string); + fprintf(stdmsg, "%.*s", (int)se->len, (char*)se->string); } else error("string expected for message, not '%s'", e->toChars());