mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-10 05:37:06 +00:00
were being kept as UInts. They were sometimes negated and then used as indices to arrays, and on 64-bit platforms they get converted incorrectly (using zero-extension instead of sign extension, I think) before the indexing happens, giving a totally bogus index. The fix was to convert all these types to SizeT. It would be nice to be able to avoid this automatically somehow in the future. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3158
17 KiB
17 KiB