mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-09 14:06:33 +00:00
crrev.com/c/3434090 introduced a change that breaks the Windows build when the `UNICODE` preprocessor macro is not defined, as it passed a `wchar_t*` to `RegQueryValueEx()`. This fixes the build by explicitly using `RegQueryValueExW()` instead. Change-Id: Ic438bd982fdeffba05b4224051242b45e797ebd8 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/3516536 Reviewed-by: Joshua Peraza <jperaza@chromium.org> Reviewed-by: Mark Mentovai <mark@chromium.org> Commit-Queue: Mark Mentovai <mark@chromium.org>