From 8abd74568f1eb64e2f3661b2548047cd265288c8 Mon Sep 17 00:00:00 2001 From: Andreas Reich Date: Wed, 30 Oct 2024 18:23:35 +0100 Subject: [PATCH] fix windows build failure --- crates/eframe/src/native/file_storage.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/eframe/src/native/file_storage.rs b/crates/eframe/src/native/file_storage.rs index 439fc5463..c47a71e68 100644 --- a/crates/eframe/src/native/file_storage.rs +++ b/crates/eframe/src/native/file_storage.rs @@ -63,7 +63,7 @@ fn roaming_appdata() -> Option { match SHGetKnownFolderPath( &FOLDERID_RoamingAppData, KF_FLAG_DONT_VERIFY as u32, - 0, + std::ptr::null_mut(), &mut path, ) { S_OK => {