mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-12 02:43:14 +01: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
|
||||
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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user