Skip to content

Commit f8de7d6

Browse files
committed
Update windows-sys to 0.61.0
1 parent 45196f0 commit f8de7d6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ keywords = ["ansi", "windows", "console", "terminal", "color"]
1111
categories = ["command-line-interface", "os::windows-apis"]
1212

1313
[target.'cfg(windows)'.dependencies]
14-
windows-sys = { version = "0.45.0", features = [
14+
windows-sys = { version = "0.61.0", features = [
1515
"Win32_Foundation",
1616
"Win32_Storage_FileSystem",
1717
"Win32_Security",

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ pub fn enable_ansi_support() -> Result<(), std::io::Error> {
7878
std::ptr::null(),
7979
OPEN_EXISTING,
8080
0,
81-
0,
81+
std::ptr::null_mut(),
8282
);
8383
if console_handle == INVALID_HANDLE_VALUE {
8484
return Err(std::io::Error::last_os_error());

0 commit comments

Comments
 (0)