projects
/
platform
/
upstream
/
libexif.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1fdaee
)
EXIF_LOG_NO_MEMORY macro: use different format string in message
author
Hans Ulrich Niedermann
<hun@n-dimensional.de>
Mon, 25 Jun 2007 23:03:00 +0000
(
01:03
+0200)
committer
Hans Ulrich Niedermann
<hun@n-dimensional.de>
Mon, 25 Jun 2007 23:03:00 +0000
(
01:03
+0200)
libexif/exif-log.h
patch
|
blob
|
history
diff --git
a/libexif/exif-log.h
b/libexif/exif-log.h
index 01eed3f65e1a85f5cb8355d84a4dc1453a854a69..2707802433281671bffc838adc56cfb6c7ee35e4 100644
(file)
--- a/
libexif/exif-log.h
+++ b/
libexif/exif-log.h
@@
-66,7
+66,7
@@
void exif_logv (ExifLog *log, ExifLogCode, const char *domain,
const char *format, va_list args);
/* For your convenience */
-#define EXIF_LOG_NO_MEMORY(l,d,s) exif_log (
l, EXIF_LOG_CODE_NO_MEMORY, d, "Could not allocate %i byte(s).", s
)
+#define EXIF_LOG_NO_MEMORY(l,d,s) exif_log (
(l), EXIF_LOG_CODE_NO_MEMORY, (d), "Could not allocate %lu byte(s).", (unsigned long)(s)
)
#ifdef __cplusplus
}