summaryrefslogtreecommitdiff
path: root/source/XMPFiles/FileHandlers/Basic_Handler.cpp
diff options
context:
space:
mode:
authorHubert Figuiere <hub@figuiere.net>2008-11-17 23:42:00 -0500
committerHubert Figuiere <hub@figuiere.net>2008-11-17 23:42:00 -0500
commit88af812fde414aca8f9add90bc800ea3d8e9a281 (patch)
tree0403dd1897c0b287d4d710dd422827683c59dfcb /source/XMPFiles/FileHandlers/Basic_Handler.cpp
parent9d7d7c3caac05db240692ad7e9196fcb7f5a1ce5 (diff)
upgrade to XMP-SDK 4.4.2
Diffstat (limited to 'source/XMPFiles/FileHandlers/Basic_Handler.cpp')
-rw-r--r--source/XMPFiles/FileHandlers/Basic_Handler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/XMPFiles/FileHandlers/Basic_Handler.cpp b/source/XMPFiles/FileHandlers/Basic_Handler.cpp
index 845fe16..f3b471e 100644
--- a/source/XMPFiles/FileHandlers/Basic_Handler.cpp
+++ b/source/XMPFiles/FileHandlers/Basic_Handler.cpp
@@ -71,7 +71,7 @@ void Basic_MetaHandler::UpdateFile ( bool doSafeUpdate )
LFA_Seek ( fileRef, 0, SEEK_END );
this->WriteXMPPrefix();
- LFA_Write ( fileRef, xmpPacket.c_str(), xmpPacket.size() );
+ LFA_Write ( fileRef, xmpPacket.c_str(), (XMP_StringLen)xmpPacket.size() );
this->WriteXMPSuffix();
if ( checkAbort && abortProc(abortArg) ) {
XMP_Throw ( "Basic_MetaHandler::UpdateFile - User abort", kXMPErr_UserAbort );
@@ -135,7 +135,7 @@ void Basic_MetaHandler::WriteFile ( LFA_FileRef sourceRef, const std::string & s
// Write the new XMP section to the destination.
this->WriteXMPPrefix();
- LFA_Write ( destRef, this->xmpPacket.c_str(), this->xmpPacket.size() );
+ LFA_Write ( destRef, this->xmpPacket.c_str(), (XMP_StringLen)this->xmpPacket.size() );
this->WriteXMPSuffix();
if ( checkAbort && abortProc(abortArg) ) {
XMP_Throw ( "Basic_MetaHandler::WriteFile - User abort", kXMPErr_UserAbort );