Skip to content

Commit

Permalink
build(deps): update windows-sys requirement from 0.48.0 to 0.52.0
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
dependabot[bot] and notgull authored Nov 20, 2023
1 parent 58da196 commit 0b8f10d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ wayland-sys = "0.31.0"
x11rb = { version = "0.12.0", features = ["allow-unsafe-code", "shm"], optional = true }

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

[target.'cfg(target_os = "macos")'.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/win32.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ impl Buffer {
biHeight: -height.get(),
biPlanes: 1,
biBitCount: 32,
biCompression: Gdi::BI_BITFIELDS as u32,
biCompression: Gdi::BI_BITFIELDS,
biSizeImage: 0,
biXPelsPerMeter: 0,
biYPelsPerMeter: 0,
Expand Down

0 comments on commit 0b8f10d

Please sign in to comment.