Skip to content

Commit

Permalink
Fix type conversion for sbyte array
Browse files Browse the repository at this point in the history
  • Loading branch information
oozcitak committed May 15, 2019
1 parent 07e1ee3 commit b010ff5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ExifLibrary/ExifProperty.cs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ public override ExifInterOperability Interoperability
{
byte[] data = new byte[mValue.Length];
Buffer.BlockCopy(mValue, 0, data, 0, mValue.Length);
return new ExifInterOperability(ExifTagFactory.GetTagID(mTag), InterOpType.SBYTE, data.Length, data);
return new ExifInterOperability(ExifTagFactory.GetTagID(mTag), InterOpType.SBYTE, (uint)data.Length, data);
}
}
}
Expand Down

0 comments on commit b010ff5

Please sign in to comment.