/********************************************************************
* COPYRIGHT:
- * Copyright (c) 1999-2003, International Business Machines Corporation and
+ * Copyright (c) 1999-2003,2009, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
}
printf("%s", buf);
if(buf != stackBuffer) {
- delete buf;
+ delete[] buf;
}
}
return UnicodeString(buf, "");
}
case Formattable::kLong:
+ case Formattable::kInt64:
{
char buf[256];
sprintf(buf, "%ldL", f.getLong());