Fix broken debug output.

This commit is contained in:
Rene Gollent 2011-12-06 21:32:09 -05:00
parent e0031e05f9
commit 4cc7fee152

View File

@ -150,8 +150,8 @@ Array<Element>::Remove(int32 index, int32 count)
if (index < 0 || count < 0 || index + count > fSize) {
#if DEBUG
char buffer[128];
snprintf(buffer, sizeof(buffer), "Array::Remove(): index: %d, "
"count: %d, size: %d", index, count, fSize);
snprintf(buffer, sizeof(buffer), "Array::Remove(): index: %ld, "
"count: %ld, size: %ld", index, count, fSize);
debugger(buffer);
#endif
return false;