From: Hans U. N. <hu...@us...> - 2007-06-25 23:03:05
|
Update of /cvsroot/libexif/libexif/libexif In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv28962/libexif Modified Files: exif-log.h Log Message: EXIF_LOG_NO_MEMORY macro: use different format string in message Index: exif-log.h =================================================================== RCS file: /cvsroot/libexif/libexif/libexif/exif-log.h,v retrieving revision 1.6 retrieving revision 1.7 diff -u -p -d -r1.6 -r1.7 --- exif-log.h 12 Apr 2005 03:27:09 -0000 1.6 +++ exif-log.h 25 Jun 2007 23:03:00 -0000 1.7 @@ -66,7 +66,7 @@ void exif_logv (ExifLog *log, ExifLo 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 } |