Fix stray vec::as_buf, try to put out fire on win32.
This commit is contained in:
parent
ccd4a0e362
commit
989536083d
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ mod win32 {
|
|||
let mut t = str::to_utf16(s);
|
||||
// Null terminate before passing on.
|
||||
t += ~[0u16];
|
||||
vec::as_buf(t, |buf, _len| f(buf))
|
||||
vec::as_imm_buf(t, |buf, _len| f(buf))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue