[Debburn-changes] r794 - cdrkit/trunk/genisoimage

harald-hoyer-guest at alioth.debian.org harald-hoyer-guest at alioth.debian.org
Wed Feb 27 08:54:08 UTC 2008


Author: harald-hoyer-guest
Date: 2008-02-27 08:54:08 +0000 (Wed, 27 Feb 2008)
New Revision: 794

Modified:
   cdrkit/trunk/genisoimage/write.c
Log:
correctly cast to unsigned int and use %u


Modified: cdrkit/trunk/genisoimage/write.c
===================================================================
--- cdrkit/trunk/genisoimage/write.c	2008-02-27 08:53:29 UTC (rev 793)
+++ cdrkit/trunk/genisoimage/write.c	2008-02-27 08:54:08 UTC (rev 794)
@@ -918,9 +918,9 @@
 			}
 
 			if (verbose > 2 && s_entry->size != 0) {
-				fprintf(stderr, "%8d %8d ",
-					(int)s_entry->starting_block,
-					(int)(s_entry->starting_block + ISO_BLOCKS(s_entry->size) - 1));
+				fprintf(stderr, "%8u %8u ",
+					s_entry->starting_block,
+					(unsigned int)(s_entry->starting_block + ISO_BLOCKS(s_entry->size) - 1));
 
 				if (s_entry->inode != TABLE_INODE) {
 					fprintf(stderr, "%s\n", s_entry->whole_name);




More information about the Debburn-changes mailing list