ruby: set: corrects csprintf() call introduced by 7d95b650c9b6
This commit is contained in:
parent
9544e8fbe0
commit
dc37b03439
1 changed files with 1 additions and 3 deletions
|
@ -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 << " ]";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue