Fix more windows breakage.

This commit is contained in:
Graydon Hoare 2012-07-24 14:08:12 -07:00
parent 32e8429341
commit 160ffb0c2f

View File

@ -118,7 +118,7 @@ mod win32 {
let mut t = str::to_utf16(s);
// Null terminate before passing on.
t += ~[0u16];
vec::as_buf(t, f)
vec::as_buf(t, |buf, _len| f(buf))
}
}