Ruby: Fix Set::print for 32-bit hosts
authorAndreas Hansson <andreas.hansson@arm.com>
Fri, 23 Mar 2012 10:54:25 +0000 (06:54 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Fri, 23 Mar 2012 10:54:25 +0000 (06:54 -0400)
commitca9790a2db94e9fad36aa121e934f105348bdead
tree351d2e5795797c2f6cd68ed7d0447a623d0b4e6a
parent9727b1be189ab9990d4cb6783c16a7dae1b43c97
Ruby: Fix Set::print for 32-bit hosts

This patch fixes a compilation error caused by a length mismatch on
32-bit hosts. The ifdef and sprintf is replaced by a csprintf.
src/mem/ruby/common/Set.cc