Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix clang-cl compilation #2999

Merged
merged 1 commit into from
Jun 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion xmpsdk/src/ParseRDF.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ FixupQualifiedNode ( XMP_Node * xmpParent )
// value node's children to be the parent's children. Delete the now useless value node.

XMP_Assert ( xmpParent->options & (kXMP_PropValueIsStruct | kRDF_HasValueElem) );
xmpParent->options &= ~ (kXMP_PropValueIsStruct | kRDF_HasValueElem);
xmpParent->options &= ~ (static_cast<unsigned long>(kXMP_PropValueIsStruct) | static_cast<unsigned long>(kRDF_HasValueElem));
xmpParent->options |= valueNode->options;

xmpParent->value.swap ( valueNode->value );
Expand Down
2 changes: 1 addition & 1 deletion xmpsdk/src/XMPCore_Impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -948,7 +948,7 @@ FindQualifierNode ( XMP_Node * parent,

if ( (qualNode == 0) && createNodes ) {

qualNode = new XMP_Node ( parent, qualName, (kXMP_PropIsQualifier | kXMP_NewImplicitNode) );
qualNode = new XMP_Node ( parent, qualName, (static_cast<unsigned long>(kXMP_PropIsQualifier) | static_cast<unsigned long>(kXMP_NewImplicitNode)) );
parent->options |= kXMP_PropHasQualifiers;

const bool isLang = XMP_LitMatch ( qualName, "xml:lang" );
Expand Down
Loading