Consistency in memset calls.

This commit is contained in:
gibbed
2015-05-28 05:28:59 -05:00
parent 32fff9271b
commit d1dbee2052
13 changed files with 18 additions and 18 deletions

View File

@@ -68,7 +68,7 @@ X_STATUS ObjectTable::FindFreeSlot(uint32_t* out_slot) {
}
// Zero out new memory.
if (new_table_size > old_table_size) {
memset(reinterpret_cast<uint8_t*>(new_table) + old_table_size, 0,
std::memset(reinterpret_cast<uint8_t*>(new_table) + old_table_size, 0,
new_table_size - old_table_size);
}
last_free_entry_ = table_capacity_;