Fix undefined behaviour reported by the new --enable-expensive-checks option.
authorNick Lewycky <nicholas@mxc.ca>
Sun, 1 Jul 2007 03:06:30 +0000 (03:06 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sun, 1 Jul 2007 03:06:30 +0000 (03:06 +0000)
commitea332946d3577cc75422a1ad0cbce9321e9e8c59
tree2d98081aade1b3a0f0ef7cc568601bc66454bb2c
parent2672a8e4077a537d91d3c829d146e33104b253c1
Fix undefined behaviour reported by the new --enable-expensive-checks option.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37829 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/MemoryBuffer.cpp