Skip to content

Commit bb1dc9d

Browse files
committed
Fix
1 parent 5247304 commit bb1dc9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tinyrust.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ pub fn main() {
2323
// Make a Rust value representing the string constant we stashed
2424
// in the ELF file header.
2525
let message: &'static [u8] = unsafe {
26-
mem::transmute(slice::from_raw_parts(0x00400000 as *const u8, 7))
26+
mem::transmute(slice::from_raw_parts(0x00400008 as *const u8, 7))
2727
};
2828

2929
write(1, message);

0 commit comments

Comments
 (0)