Mercurial > projects > ldc
changeset 152:e984333d6ac6 trunk
[svn r158] fixed bug with console integer output: buffer was too small
author | ChristianK |
---|---|
date | Mon, 24 Mar 2008 20:49:21 +0100 |
parents | d11848349f97 |
children | 2c447715c047 |
files | tango/lib/compiler/llvmdc/util/console.d |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tango/lib/compiler/llvmdc/util/console.d Mon Mar 24 20:48:40 2008 +0100 +++ b/tango/lib/compiler/llvmdc/util/console.d Mon Mar 24 20:49:21 2008 +0100 @@ -77,7 +77,7 @@ // emit an integer to the console Console opCall (size_t i) { - char[20] tmp = void; + char[25] tmp = void; return console (intToUtf8 (tmp, i)); }