summaryrefslogtreecommitdiff
path: root/source/XIO.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/XIO.cpp')
-rw-r--r--source/XIO.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/XIO.cpp b/source/XIO.cpp
index 7ca672c..ed0a5fa 100644
--- a/source/XIO.cpp
+++ b/source/XIO.cpp
@@ -107,7 +107,7 @@ void XIO::SplitFileExtension ( std::string * leafName, std::string * fileExt )
void XIO::ReplaceTextFile ( XMP_IO* textFile, const std::string & newContent, bool doSafeUpdate )
{
XMP_Int64 newContentSize = (XMP_Int64)newContent.size();
- XMP_Enforce ( newContentSize <= 0xFFFFFFFFUL ); // Make sure it fits in UInt32 for Write.
+ XMP_Enforce ( newContentSize <= (XMP_Int64)0xFFFFFFFFULL ); // Make sure it fits in UInt32 for Write.
if ( doSafeUpdate ) {