Okay... Fix the assertion as well, since 20 really is enough yet it wanted MORE... Despite the message.

This commit is contained in:
Tomas Lindquist Olsen
2009-05-10 17:31:56 +02:00
parent 0ab77de246
commit 3fb2cb0322

View File

@@ -19,7 +19,7 @@ private import tango.stdc.string;
// Returns a valid slice of the populated buffer
char[] intToUtf8 (char[] tmp, size_t val)
in {
assert (tmp.length > 20, "atoi buffer should be 20 or more chars wide");
assert (tmp.length >= 20, "atoi buffer should be 20 or more chars wide");
}
body
{