ruby: set: corrects csprintf() call introduced by 7d95b650c9b6

This commit is contained in:
Nilay Vaish 2013-03-15 16:28:08 -05:00
parent 9544e8fbe0
commit dc37b03439

View file

@ -351,11 +351,9 @@ Set::print(std::ostream& out) const
return; return;
} }
char buff[24];
out << "[Set (" << m_nSize << ")"; out << "[Set (" << m_nSize << ")";
for (int i = m_nArrayLen - 1; i >= 0; i--) { for (int i = m_nArrayLen - 1; i >= 0; i--) {
csprintf(buff," 0x%08X", m_p_nArray[i]); out << csprintf(" 0x%08X", m_p_nArray[i]);
out << buff;
} }
out << " ]"; out << " ]";
} }