]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 12 Feb 2012 19:21:54 +0000 (19:21 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 12 Feb 2012 19:21:54 +0000 (19:21 +0000)
coders/tiff.c

index 4f8402aa521469ea6fce5f10352955ba87dbe75a..af669d3cd2bb64370309a4cf27c0c95ca8bc38a0 100644 (file)
@@ -676,7 +676,7 @@ static void TIFFGetEXIFProperties(TIFF *tiff,Image *image,
           longy;
 
         if (TIFFGetField(tiff,exif_info[i].tag,&longy,&sans,&sans) != 0)
-          (void) FormatLocaleString(value,MaxTextExtent,"%lld",longy);
+          (void) FormatLocaleString(value,MaxTextExtent,"%.20g",(double) longy);
         break;
       }
 #endif