Commit 42f599c6 authored by Scott Cyphers's avatar Scott Cyphers

Fix warning

parent 58a8cde2
...@@ -26,8 +26,8 @@ void ngraph::dump(ostream& out, const void* _data, size_t _size) ...@@ -26,8 +26,8 @@ void ngraph::dump(ostream& out, const void* _data, size_t _size)
{ {
auto flags = out.flags(); auto flags = out.flags();
const uint8_t* data = reinterpret_cast<const uint8_t*>(_data); const uint8_t* data = reinterpret_cast<const uint8_t*>(_data);
int len = _size; size_t len = _size;
int index = 0; size_t index = 0;
while (index < len) while (index < len)
{ {
out << std::hex << std::setw(8) << std::setfill('0') << index; out << std::hex << std::setw(8) << std::setfill('0') << index;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment