Merged DMD commit c0aeb74eb605c02f38bebc6bde819fffdf4b792d:

more 64
This commit is contained in:
David Nadlinger
2011-04-22 18:54:33 +02:00
parent 3e75e7ec08
commit b937eacc69

View File

@@ -2727,7 +2727,7 @@ int StringExp::compare(Object *obj)
switch (sz)
{
case 1:
return strcmp((char *)string, (char *)se2->string);
return memcmp((char *)string, (char *)se2->string, len1);
case 2:
{ unsigned u;