diff options
author | Jorg Schuler <jcsjcs@users.sourceforge.net> | 2006-08-18 01:47:42 +0000 |
---|---|---|
committer | Jorg Schuler <jcsjcs@users.sourceforge.net> | 2006-08-18 01:47:42 +0000 |
commit | 8738174c61711826cde78fd48c3bb482e05f3806 (patch) | |
tree | 428933a30143ba3a13f86f934526ad7ec125bc90 | |
parent | f46ca6cc420a1a952413e030e5c8c1341a731374 (diff) | |
download | libgpod-8738174c61711826cde78fd48c3bb482e05f3806.tar.gz libgpod-8738174c61711826cde78fd48c3bb482e05f3806.tar.xz libgpod-8738174c61711826cde78fd48c3bb482e05f3806.zip |
* src/db-artwork-writer.c (ipod_buffer_grow_file): printf(3) type
warnings caused compile error with FreeBSD 6.0-stable/GCC
3.4.4. Thanks to Mike Heffner for the patch.
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1309 f01d2545-417e-4e96-918e-98f8d0dbbcb6
-rw-r--r-- | src/db-artwork-writer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/db-artwork-writer.c b/src/db-artwork-writer.c index 08de094..f072059 100644 --- a/src/db-artwork-writer.c +++ b/src/db-artwork-writer.c @@ -98,14 +98,14 @@ ipod_buffer_grow_file (struct iPodMmapBuffer *mmap_buf, off_t new_size) result = lseek (mmap_buf->fd, new_size, SEEK_SET); if (result == (off_t)-1) { g_print ("Failed to grow file to %lu: %s\n", - new_size, strerror (errno)); + (unsigned long)new_size, strerror (errno)); return -1; } result = 0; result = write (mmap_buf->fd, &result, 1); if (result != 1) { g_print ("Failed to write a byte at %lu: %s\n", - new_size, strerror (errno)); + (unsigned long)new_size, strerror (errno)); return -1; } |