diff options
Diffstat (limited to 'camlibs/digita/commands.c')
-rw-r--r-- | camlibs/digita/commands.c | 4 |
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; } |