diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2014-03-01 23:59:57 -0600 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2014-03-01 23:59:57 -0600 |
commit | 67cd04b6fefd74e1f7c2da33f70d13af2a40fabb (patch) | |
tree | 52c34088aa291416aa37d5bd6f1789352d41a8ea /src/mem/ruby/buffers/MessageBuffer.hh | |
parent | 919baa603d0b835c3202f9968a617a31f9116549 (diff) | |
download | gem5-67cd04b6fefd74e1f7c2da33f70d13af2a40fabb.tar.xz |
ruby: make the max_size variable of the MessageBuffer unsigned
Diffstat (limited to 'src/mem/ruby/buffers/MessageBuffer.hh')
-rw-r--r-- | src/mem/ruby/buffers/MessageBuffer.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mem/ruby/buffers/MessageBuffer.hh b/src/mem/ruby/buffers/MessageBuffer.hh index b65717e2d..444a7fc30 100644 --- a/src/mem/ruby/buffers/MessageBuffer.hh +++ b/src/mem/ruby/buffers/MessageBuffer.hh @@ -134,8 +134,8 @@ class MessageBuffer m_ordering_set = true; } - void resize(int size) { m_max_size = size; } - int getSize(); + void resize(unsigned int size) { m_max_size = size; } + unsigned int getSize(); void setRandomization(bool random_flag) { m_randomization = random_flag; } void clear(); |