diff options
Diffstat (limited to 'src/libstd/rt/stack.rs')
| -rw-r--r-- | src/libstd/rt/stack.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/rt/stack.rs b/src/libstd/rt/stack.rs index fbb516b2df4..a1269968921 100644 --- a/src/libstd/rt/stack.rs +++ b/src/libstd/rt/stack.rs @@ -44,7 +44,7 @@ impl StackSegment { /// Point one word beyond the high end of the allocated stack pub fn end(&self) -> *uint { - vec::raw::to_ptr(self.buf).offset(self.buf.len()) as *uint + vec::raw::to_ptr(self.buf).offset(self.buf.len() as int) as *uint } } |
