From 9474cc8aef621e83b00dd4c414a834426415bfbe Mon Sep 17 00:00:00 2001
From: songnannan2 <songnannan2@huawei.com>
Date: Tue, 18 Feb 2020 23:00:27 +0800
Subject: [PATCH] bugfix about can not be represented in type int

---
 libexif-0.6.21/libexif/pentax/mnote-pentax-entry.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libexif/pentax/mnote-pentax-entry.c b/libexif/pentax/mnote-pentax-entry.c
index dcb1560..691a2bd 100644
--- a/libexif/pentax/mnote-pentax-entry.c
+++ b/libexif/pentax/mnote-pentax-entry.c
@@ -365,7 +365,7 @@ mnote_pentax_entry_get_value (MnotePentaxEntry *entry,
 			CF (entry->format, EXIF_FORMAT_SHORT, val, maxlen);
 			CC2 (entry->components, 1, 2, val, maxlen);
 			vs = exif_get_short (entry->data, entry->order);
-			vs2 = exif_get_short (entry->data+2, entry->order) << 16;
+			vs2 = (ExifShort)exif_get_short (entry->data+2, entry->order) << 16;
 
 			/* search the tag */
 			for (i = 0; (items2[i].tag && items2[i].tag != entry->tag); i++);
-- 
2.19.1

