Skip to content

Commit

Permalink
Initialise uint32_t with integer literal
Browse files Browse the repository at this point in the history
Signed-off-by: Rodrigo Tobar <[email protected]>
  • Loading branch information
rtobar committed Sep 4, 2024
1 parent 804402e commit 888e047
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BuildEvents.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ struct BufferedReader
size_t bufferSize;
};

const uint32_t kFileMagic = 'CBA0';
const uint32_t kFileMagic = 0x43424130; // 'CBA0'

bool SaveBuildEvents(BuildEventsParser* parser, const std::string& fileName)
{
Expand Down

0 comments on commit 888e047

Please sign in to comment.