Mercurial > projects > ldc
comparison dmd/identifier.c @ 817:f5d5bc9295b1
Fixed printf formatting flag problem on mingw (missed one)
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Mon, 01 Dec 2008 19:51:45 +0100 |
parents | 6aee82889553 |
children | b30fe7e1dbb9 |
comparison
equal
deleted
inserted
replaced
816:7d16ce7ad19d | 817:f5d5bc9295b1 |
---|---|
91 | 91 |
92 Identifier *Identifier::generateId(const char *prefix, size_t i) | 92 Identifier *Identifier::generateId(const char *prefix, size_t i) |
93 { OutBuffer buf; | 93 { OutBuffer buf; |
94 | 94 |
95 buf.writestring(prefix); | 95 buf.writestring(prefix); |
96 buf.printf("%zu", i); | 96 buf.printf("%"PRIuSIZE, i); |
97 | 97 |
98 char *id = buf.toChars(); | 98 char *id = buf.toChars(); |
99 buf.data = NULL; | 99 buf.data = NULL; |
100 return Lexer::idPool(id); | 100 return Lexer::idPool(id); |
101 } | 101 } |