[NFC] correcting a code comment.

This commit is contained in:
Chris Bieneman 2022-05-18 08:51:44 -05:00
parent 0990d5b549
commit 47258ffc5c

View File

@ -24,7 +24,7 @@ static Error readStruct(StringRef Buffer, const char *P, T &Struct) {
return parseFailed("Reading structure out of file bounds");
memcpy(&Struct, P, sizeof(T));
// DXContainer is always BigEndian
// DXContainer is always little endian
if (sys::IsBigEndianHost)
Struct.byteSwap();
return Error::success();