summaryrefslogtreecommitdiff
path: root/SharedGraphics/PNGLoader.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-04-23 13:00:53 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-04-23 13:00:53 +0200
commit58240fdb337a3ca0e2a8e63212cae509cda38daf (patch)
tree38747e507f7a7301a1fd0b7a31a4ce1d8cd8bf66 /SharedGraphics/PNGLoader.cpp
parent243e1d84627c20a39f5464bb61cafae9fa2fe456 (diff)
downloadserenity-58240fdb337a3ca0e2a8e63212cae509cda38daf.zip
Do a pass of compiler warning fixes.
This is really making me question not using 64-bit integers more.
Diffstat (limited to 'SharedGraphics/PNGLoader.cpp')
-rw-r--r--SharedGraphics/PNGLoader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/SharedGraphics/PNGLoader.cpp b/SharedGraphics/PNGLoader.cpp
index f44d1f281d..f2b8721808 100644
--- a/SharedGraphics/PNGLoader.cpp
+++ b/SharedGraphics/PNGLoader.cpp
@@ -82,7 +82,7 @@ public:
{
if (m_size_remaining < count)
return false;
- buffer = ByteBuffer::wrap((void*)m_data_ptr, count);
+ buffer = ByteBuffer::wrap(m_data_ptr, count);
m_data_ptr += count;
m_size_remaining -= count;
return true;