Skip to content

Commit

Permalink
Merge pull request godotengine#92541 from patwork/fix-multichar-windo…
Browse files Browse the repository at this point in the history
…ws-utils

Fix multichar warning in `windows_utils.cpp`
  • Loading branch information
akien-mga committed May 30, 2024
2 parents ff242e2 + 909f28a commit e7dd6f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platform/windows/windows_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,15 +92,15 @@ 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;
DWORD Age;
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];
Expand Down

0 comments on commit e7dd6f1

Please sign in to comment.