summaryrefslogtreecommitdiff
path: root/camlibs
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2008-03-15 19:31:15 +0000
committerMarcus Meissner <marcus@jet.franken.de>2008-03-15 19:31:15 +0000
commitbb8822e25a8bb3eee0b8d09cef956c6fdc77af26 (patch)
treee86fd0591a47e69c3d2a59aeda1c8424ee7fe380 /camlibs
parent5d5323b965906503b43b4c6f1164759869731756 (diff)
downloadlibgphoto2-bb8822e25a8bb3eee0b8d09cef956c6fdc77af26.tar.gz
avoid printf warning
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10986 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'camlibs')
-rw-r--r--camlibs/digita/commands.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/camlibs/digita/commands.c b/camlibs/digita/commands.c
index 58edf95bc..6cc20c0fb 100644
--- a/camlibs/digita/commands.c
+++ b/camlibs/digita/commands.c
@@ -162,8 +162,8 @@ int digita_get_file_data(CameraPrivateLibrary *dev, int thumbnail,
tbuf = malloc(GFD_BUFSIZE + sizeof(*gfdr));
if (!tbuf) {
- GP_DEBUG("digita_get_file_data: unable to allocate %d bytes",
- GFD_BUFSIZE + sizeof(*gfdr));
+ GP_DEBUG("digita_get_file_data: unable to allocate %ud bytes",
+ (unsigned int)(GFD_BUFSIZE + sizeof(*gfdr)));
return -1;
}