summaryrefslogtreecommitdiff
path: root/plugins/AdvaImg/src
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-08-13 18:27:21 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-08-13 18:27:21 +0000
commite84bf4a5995b26423129b9339dd387e2a7431a0a (patch)
tree56ba8122b2cf9c2b4f9727148ee03b79478a348a /plugins/AdvaImg/src
parentea20be4475a06afea0da33b46ec5957f7b1ced99 (diff)
data format fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@14943 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AdvaImg/src')
-rw-r--r--plugins/AdvaImg/src/Metadata/TagConversion.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/AdvaImg/src/Metadata/TagConversion.cpp b/plugins/AdvaImg/src/Metadata/TagConversion.cpp
index f05818600c..bbba4442c2 100644
--- a/plugins/AdvaImg/src/Metadata/TagConversion.cpp
+++ b/plugins/AdvaImg/src/Metadata/TagConversion.cpp
@@ -199,10 +199,10 @@ ConvertAnyTag(FITAG *tag) {
{
UINT64 *pvalue = (UINT64 *)FreeImage_GetTagValue(tag);
- sprintf(format, "%ld", pvalue[0]);
+ sprintf(format, "%lld", pvalue[0]);
buffer += format;
for(i = 1; i < tag_count; i++) {
- sprintf(format, "%ld", pvalue[i]);
+ sprintf(format, "%lld", pvalue[i]);
buffer += format;
}
break;
@@ -212,10 +212,10 @@ ConvertAnyTag(FITAG *tag) {
{
UINT64 *pvalue = (UINT64 *)FreeImage_GetTagValue(tag);
- sprintf(format, "%X", pvalue[0]);
+ sprintf(format, "%llX", pvalue[0]);
buffer += format;
for(i = 1; i < tag_count; i++) {
- sprintf(format, "%X", pvalue[i]);
+ sprintf(format, "%llX", pvalue[i]);
buffer += format;
}
break;
@@ -225,10 +225,10 @@ ConvertAnyTag(FITAG *tag) {
{
INT64 *pvalue = (INT64 *)FreeImage_GetTagValue(tag);
- sprintf(format, "%ld", pvalue[0]);
+ sprintf(format, "%lld", pvalue[0]);
buffer += format;
for(i = 1; i < tag_count; i++) {
- sprintf(format, "%ld", pvalue[i]);
+ sprintf(format, "%lld", pvalue[i]);
buffer += format;
}
break;