mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-03 05:57:40 -05:00
impr: General code cleanup
This commit is contained in:
@@ -21,7 +21,7 @@ namespace ImGui {
|
||||
if (width * height * 4 > size)
|
||||
return;
|
||||
|
||||
imageData = (unsigned char*) STBI_MALLOC(size);
|
||||
imageData = static_cast<unsigned char *>(STBI_MALLOC(size));
|
||||
std::memcpy(imageData, buffer, size);
|
||||
this->m_width = width;
|
||||
this->m_height = height;
|
||||
|
||||
Reference in New Issue
Block a user