summaryrefslogtreecommitdiff
path: root/src/dev/ns_gige.hh
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2011-06-14 19:51:44 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2011-06-14 19:51:44 -0500
commit8bf92329eeea76e4e01c49f31e68c29cdada5985 (patch)
treeafc0e1b57893a14095adb44c86ed70d4b429e0ef /src/dev/ns_gige.hh
parent91622602c29f847d9844ec66a1db4ca3740901d3 (diff)
downloadgem5-8bf92329eeea76e4e01c49f31e68c29cdada5985.tar.xz
Ruby: Correct set LONG_BITS and INDEX_SHIFT in class Set.
The code for Set class was written under the assumption that std::numeric_limits<long>::digits returns the number of bits used for data type long, which was presumed to be either 32 or 64. But return value is actually one less, that is, it is either 31 or 63. The value is now being incremented by 1 so as to correctly set it.
Diffstat (limited to 'src/dev/ns_gige.hh')
0 files changed, 0 insertions, 0 deletions