summaryrefslogtreecommitdiff
path: root/source/XMPFiles/FormatSupport/TIFF_Support.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/XMPFiles/FormatSupport/TIFF_Support.cpp')
-rw-r--r--source/XMPFiles/FormatSupport/TIFF_Support.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/XMPFiles/FormatSupport/TIFF_Support.cpp b/source/XMPFiles/FormatSupport/TIFF_Support.cpp
index 6d1698d..8aecc10 100644
--- a/source/XMPFiles/FormatSupport/TIFF_Support.cpp
+++ b/source/XMPFiles/FormatSupport/TIFF_Support.cpp
@@ -259,7 +259,7 @@ struct StreamRational { XMP_Uns32 num, denom; };
void TIFF_Manager::SetTag_ASCII ( XMP_Uns8 ifd, XMP_Uns16 id, XMP_StringPtr data )
{
- this->SetTag ( ifd, id, kTIFF_ASCIIType, (strlen(data) + 1), data ); // ! Include trailing nul.
+ this->SetTag ( ifd, id, kTIFF_ASCIIType, (XMP_Uns32)(strlen(data) + 1), data ); // ! Include trailing nul.
} // TIFF_Manager::SetTag_ASCII