summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjcsjcs <jcsjcs@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2006-08-18 01:47:42 +0000
committerjcsjcs <jcsjcs@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2006-08-18 01:47:42 +0000
commitcdb9a8120fcdc705ae5325a9df08f8e5c99f7262 (patch)
tree428933a30143ba3a13f86f934526ad7ec125bc90 /src
parentae6e1ea4cf3d1cf79a8a2a7fa6313090a401db5e (diff)
downloadlibgpod-cdb9a8120fcdc705ae5325a9df08f8e5c99f7262.tar.gz
libgpod-cdb9a8120fcdc705ae5325a9df08f8e5c99f7262.tar.xz
libgpod-cdb9a8120fcdc705ae5325a9df08f8e5c99f7262.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
Diffstat (limited to 'src')
-rw-r--r--src/db-artwork-writer.c4
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;
}