Constify tools

This commit is contained in:
Chuck Walbourn
2022-03-01 14:31:55 -08:00
parent 44e7464954
commit a8b5aab1c0
6 changed files with 105 additions and 105 deletions

View File

@@ -151,7 +151,7 @@ namespace
if (header->biSizeImage != image.GetPixelsSize())
return E_UNEXPECTED;
size_t remaining = size - filehdr->bfOffBits;
const size_t remaining = size - filehdr->bfOffBits;
if (!remaining)
return E_FAIL;