Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(wm): pass *const u8 to enum_display_devices
Thanks to @ids1024 for pointing out that the failing system calls were likely due to optimizations being made with the release profile's opt-level=3 and to @saethlin for pointing out that in the previous commit I was returning a pointer to a temporary that was about to be deallocated. https://fosstodon.org/@ids1024/111627094548141620 https://hachyderm.io/@saethlin/111627135615930244 With this commit, the display ids are now successfully returned from calls to EnumDisplayDevicesA on release builds.
- Loading branch information