Skip to content

Commit

Permalink
fix commit 99d317e on 32 bits build
Browse files Browse the repository at this point in the history
  • Loading branch information
cbucher committed May 8, 2018
1 parent 17082d5 commit d858412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Console/ImageHandler.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class internalImage
std::streamsize size = file.tellg();
file.seekg(0, std::ios::beg);

std::vector<char> content(size);
std::vector<char> content(static_cast<size_t>(size));
if( file.read(content.data(), size) )
{
return loadFromMemory(reinterpret_cast<const BYTE*>(content.data()), static_cast<DWORD>(content.size()));
Expand Down

0 comments on commit d858412

Please sign in to comment.