diff options
author | Hubert Figuière <hub@figuiere.net> | 2021-09-01 13:52:14 -0400 |
---|---|---|
committer | Hubert Figuière <hub@figuiere.net> | 2021-09-01 15:14:57 -0400 |
commit | 022c5dede74ecd38939acd168212c26d91e11db3 (patch) | |
tree | c415ce2927acb3712dd94f50b4299fae90fd13e9 /XMPFiles/source/FormatSupport/XMPScanner.cpp | |
parent | 8db317ecaaf0df53f77091df704b8f1f9858d51a (diff) | |
parent | 77a3fe7096f8ebf301e2bfe1e6dc023b4ff6dc48 (diff) |
Issue #22 - Update SDK to v2021.08
https://gitlab.freedesktop.org/libopenraw/exempi/-/issues/22
Merge branch 'adobe-sdk' into integration
Diffstat (limited to 'XMPFiles/source/FormatSupport/XMPScanner.cpp')
-rw-r--r-- | XMPFiles/source/FormatSupport/XMPScanner.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/XMPFiles/source/FormatSupport/XMPScanner.cpp b/XMPFiles/source/FormatSupport/XMPScanner.cpp index 22726d0..abf2123 100644 --- a/XMPFiles/source/FormatSupport/XMPScanner.cpp +++ b/XMPFiles/source/FormatSupport/XMPScanner.cpp @@ -1,9 +1,9 @@ // ================================================================================================= -// Copyright 2004 Adobe Systems Incorporated +// Copyright 2004 Adobe // All Rights Reserved. // // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms -// of the Adobe license agreement accompanying it. +// of the Adobe license agreement accompanying it. // // Adobe patent application tracking #P435, entitled 'Unique markers to simplify embedding data of // one format in a file with a different format', inventors: Sean Parent, Greg Gilley. @@ -226,7 +226,7 @@ XMPScanner::PacketMachine::MatchString ( PacketMachine * ths, const char * liter { const int bytesPerChar = ths->fBytesPerChar; const char * litPtr = literal + ths->fPosition; - const XMP_Int32 charsToGo = (XMP_Int32) strlen ( literal ) - ths->fPosition; + const XMP_Int32 charsToGo = (XMP_Int32) (strlen ( literal ) - ths->fPosition); int charsDone = 0; while ( (charsDone < charsToGo) && (ths->fBufferPtr < ths->fBufferLimit) ) { @@ -662,7 +662,7 @@ XMPScanner::PacketMachine::RecordHeadAttr ( PacketMachine * ths, const char * /* } else if ( ths->fAttrName == "bytes" ) { - long value = 0; + XMP_Int32 value = 0; int count = (int) ths->fAttrValue.size(); int i; |