svn commit: [25852] trunk/busybox/shell

vapier at busybox.net vapier at busybox.net
Sat Mar 28 12:44:01 UTC 2009


Author: vapier
Date: 2009-03-28 12:43:53 +0000 (Sat, 28 Mar 2009)
New Revision: 25852

Log:
tweak format modifier in debug code to fixup gcc warning

Modified:
   trunk/busybox/shell/hush.c


Changeset:
Modified: trunk/busybox/shell/hush.c
===================================================================
--- trunk/busybox/shell/hush.c	2009-03-28 12:24:44 UTC (rev 25851)
+++ trunk/busybox/shell/hush.c	2009-03-28 12:43:53 UTC (rev 25852)
@@ -1322,7 +1322,7 @@
 	}
 	if (n) {
 		const char *p = o->data + (int)list[n - 1] + string_start;
-		fprintf(stderr, " total_sz:%d\n", (p + strlen(p) + 1) - o->data);
+		fprintf(stderr, " total_sz:%ld\n", (p + strlen(p) + 1) - o->data);
 	}
 }
 #else



More information about the busybox-cvs mailing list