From 4ec6f89b9f8af991212486bac52915486801e409 Mon Sep 17 00:00:00 2001 From: Dustin Oprea Date: Sun, 31 Jan 2021 17:12:58 -0500 Subject: [PATCH] ifd_enumerate.go: Fix warning message for unsupported type --- v3/ifd_enumerate.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v3/ifd_enumerate.go b/v3/ifd_enumerate.go index 19e1357..e131389 100644 --- a/v3/ifd_enumerate.go +++ b/v3/ifd_enumerate.go @@ -268,8 +268,8 @@ func (ie *IfdEnumerate) parseTag(ii *exifcommon.IfdIdentity, tagPosition int, bp // suddenly have data that we no longer manipulate correctly/ // accurately. ifdEnumerateLogger.Warningf(nil, - "Tag (0x%04x) in IFD [%s] at position (%d) has unsupported type (%04x) and will be skipped.", - tagId, ii, tagPosition, tagType) + "Tag (0x%04x) in IFD [%s] at position (%d) has unsupported type (0x%02x) and will be skipped.", + tagId, ii, tagPosition, int(tagType)) return nil, ErrTagTypeNotValid }