Merge pull request #92541 from patwork/fix-multichar-windows-utils

Fix multichar warning in `windows_utils.cpp`
This commit is contained in:
Rémi Verschelde 2024-05-30 15:42:02 +02:00
commit e7dd6f11ed
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@ Error WindowsUtils::copy_and_rename_pdb(const String &p_dll_path) {
DWORD Offset;
};
const DWORD nb10_magic = '01BN';
const DWORD nb10_magic = 0x3031424e; // "01BN" (little-endian)
struct CV_INFO_PDB20 {
CV_HEADER CvHeader; // CvHeader.Signature = "NB10"
DWORD Signature;
@ -100,7 +100,7 @@ Error WindowsUtils::copy_and_rename_pdb(const String &p_dll_path) {
BYTE PdbFileName[1];
};
const DWORD rsds_magic = 'SDSR';
const DWORD rsds_magic = 0x53445352; // "SDSR" (little-endian)
struct CV_INFO_PDB70 {
DWORD Signature; // "RSDS"
BYTE Guid[16];