Update of /cvsroot/gtkpod/libgpod/src
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv6439/src

Modified Files:
        db-artwork-writer.c 
Log Message:
        * 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.



Index: db-artwork-writer.c
===================================================================
RCS file: /cvsroot/gtkpod/libgpod/src/db-artwork-writer.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- db-artwork-writer.c 4 Jun 2006 16:24:44 -0000       1.21
+++ db-artwork-writer.c 18 Aug 2006 01:47:42 -0000      1.22
@@ -98,14 +98,14 @@
        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;
        }
 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to