Mercurial > projects > ldc
diff dmd2/lexer.c @ 1460:a1666b613c15
* Fix some gcc warnings in the D2 frontend code.
* Remove binaries from `dmd2/`
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Tue, 02 Jun 2009 19:18:48 +0200 |
parents | 638d16625da2 |
children | 54b3c1394d62 |
line wrap: on
line diff
--- a/dmd2/lexer.c Tue Jun 02 17:44:50 2009 +0100 +++ b/dmd2/lexer.c Tue Jun 02 19:18:48 2009 +0200 @@ -617,7 +617,7 @@ t->postfix = 0; t->value = TOKstring; if (!global.params.useDeprecated) - error("Escape String literal %.*s is deprecated, use double quoted string literal \"%.*s\" instead", p - pstart, pstart, p - pstart, pstart); + error("Escape String literal %.*s is deprecated, use double quoted string literal \"%.*s\" instead", (int)(p - pstart), pstart, (int)(p - pstart), pstart); return; } #endif