[vhffs-dev] [1266] Fixed warnings with gcc 4.3.1

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 1266
Author:   gradator
Date:     2008-10-07 13:32:07 +0200 (Tue, 07 Oct 2008)

Log Message:
-----------
Fixed warnings with gcc 4.3.1

Modified Paths:
--------------
    trunk/vhffs-fssync/vhffsfssync_slave.c


Modified: trunk/vhffs-fssync/vhffsfssync_slave.c
===================================================================
--- trunk/vhffs-fssync/vhffsfssync_slave.c	2008-10-07 11:13:12 UTC (rev 1265)
+++ trunk/vhffs-fssync/vhffsfssync_slave.c	2008-10-07 11:32:07 UTC (rev 1266)
@@ -196,7 +196,7 @@
 				conn->chunk_file = fdopen(fd, "w");
 				if(conn->chunk_file) {
 					if( fseeko(conn->chunk_file, offset, SEEK_SET) < 0 ) {
-						fprintf(stderr, "fseeko() on %lld failed on file %s: %s\n", offset, pathname, strerror(errno));
+						fprintf(stderr, "fseeko() on %lld failed on file %s: %s\n", (long long int)offset, pathname, strerror(errno));
 						fclose(conn->chunk_file);
 						conn->chunk_file = NULL;
 					}


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/