mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-08-24 15:20:05 +02:00
Okay... Fix the assertion as well, since 20 really is enough yet it wanted MORE... Despite the message.
This commit is contained in:
@@ -19,7 +19,7 @@ private import tango.stdc.string;
|
|||||||
// Returns a valid slice of the populated buffer
|
// Returns a valid slice of the populated buffer
|
||||||
char[] intToUtf8 (char[] tmp, size_t val)
|
char[] intToUtf8 (char[] tmp, size_t val)
|
||||||
in {
|
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
|
body
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user