Loading...
stdio/FreeBSD/printfcommon.h Libc-1725.40.4 Libc-825.26
--- Libc/Libc-1725.40.4/stdio/FreeBSD/printfcommon.h
+++ Libc/Libc-825.26/stdio/FreeBSD/printfcommon.h
@@ -130,7 +130,7 @@
 {
 	int p_len;
 
-	p_len = (int)(ep - p);
+	p_len = ep - p;
 	if (p_len > len)
 		p_len = len;
 	if (p_len > 0) {
@@ -168,7 +168,7 @@
 	switch (base) {
 	case 10:
 		if (val < 10) {	/* many numbers are 1 digit */
-			*--cp = (CHAR)to_char(val);
+			*--cp = to_char(val);
 			return (cp);
 		}
 		/*
@@ -295,7 +295,7 @@
 			*p++ = '0';
 		*p++ = to_char(exp);
 	}
-	return (int)(p - p0);
+	return (p - p0);
 }
 
 #endif /* !NO_FLOATING_POINT */