Skip to content

Commit 0b8f10d

Browse files
build(deps): update windows-sys requirement from 0.48.0 to 0.52.0
* build(deps): update windows-sys requirement from 0.48.0 to 0.52.0 Updates the requirements on [windows-sys](https://github.com/microsoft/windows-rs) to permit the latest version. - [Release notes](https://github.com/microsoft/windows-rs/releases) - [Commits](microsoft/windows-rs@0.48.0...0.52.0) --- updated-dependencies: - dependency-name: windows-sys dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> * Fix the clippy warning Signed-off-by: John Nunley <[email protected]> --------- Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: John Nunley <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: John Nunley <[email protected]>
1 parent 58da196 commit 0b8f10d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ wayland-sys = "0.31.0"
4242
x11rb = { version = "0.12.0", features = ["allow-unsafe-code", "shm"], optional = true }
4343

4444
[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
45-
version = "0.48.0"
45+
version = "0.52.0"
4646
features = ["Win32_Graphics_Gdi", "Win32_UI_WindowsAndMessaging", "Win32_Foundation"]
4747

4848
[target.'cfg(target_os = "macos")'.dependencies]

src/win32.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ impl Buffer {
5353
biHeight: -height.get(),
5454
biPlanes: 1,
5555
biBitCount: 32,
56-
biCompression: Gdi::BI_BITFIELDS as u32,
56+
biCompression: Gdi::BI_BITFIELDS,
5757
biSizeImage: 0,
5858
biXPelsPerMeter: 0,
5959
biYPelsPerMeter: 0,

0 commit comments

Comments
 (0)