Browse Source
Update src/ImageSharp/Metadata/Profiles/Exif/Values/ExifNumberArray.cs
Co-authored-by: Günther Foidl <gue@korporal.at>
pull/1760/head
Ildar Khayrutdinov
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/ImageSharp/Metadata/Profiles/Exif/Values/ExifNumberArray.cs
|
|
|
@ -56,7 +56,7 @@ namespace SixLabors.ImageSharp.Metadata.Profiles.Exif |
|
|
|
case int[] array: |
|
|
|
{ |
|
|
|
// workaround for inconsistent covariance of value-typed arrays
|
|
|
|
if (value.GetType().Equals(typeof(uint[]))) |
|
|
|
if (value.GetType() == typeof(uint[])) |
|
|
|
{ |
|
|
|
return this.SetArray((uint[])value); |
|
|
|
} |
|
|
|
|