summaryrefslogtreecommitdiff
path: root/source/XMPFiles/FormatSupport/PNG_Support.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/XMPFiles/FormatSupport/PNG_Support.cpp')
-rw-r--r--source/XMPFiles/FormatSupport/PNG_Support.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/XMPFiles/FormatSupport/PNG_Support.cpp b/source/XMPFiles/FormatSupport/PNG_Support.cpp
index ed55dc6..f074729 100644
--- a/source/XMPFiles/FormatSupport/PNG_Support.cpp
+++ b/source/XMPFiles/FormatSupport/PNG_Support.cpp
@@ -6,8 +6,8 @@
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms
// of the Adobe license agreement accompanying it.
// =================================================================================================
-
#include "PNG_Support.hpp"
+#include <string.h>
typedef std::basic_string<unsigned char> filebuffer;
@@ -114,7 +114,7 @@ namespace PNG_Support
// read first and following chunks
while ( ReadChunk ( fileRef, inOutChunkState, &name, &len, pos) ) {}
- return inOutChunkState.chunks.size();
+ return (long)inOutChunkState.chunks.size();
}