Skip to content

Commit

Permalink
fix bug in windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
agfline committed Jun 26, 2023
1 parent a7bdbe2 commit f2ce4dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AAFCore/AAFCore.c
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,7 @@ wchar_t * aaf_get_propertyValueWstr( aafObject *Obj, aafPID_t pid )

#ifdef _WIN32
memcpy( string,
( Prop->len % 2 ) ? (wchar_t*)Prop->val+1 : Prop->val,
( Prop->len % 2 ) ? (char*)Prop->val+1 : Prop->val,
( Prop->len % 2 ) ? Prop->len-1 : Prop->len );
#else
w16tow32( string,
Expand Down

0 comments on commit f2ce4dc

Please sign in to comment.