svn commit: r329848 - head/lib/libc/stdio

Pedro F. Giffuni pfg at FreeBSD.org
Fri Feb 23 01:11:58 UTC 2018


Author: pfg
Date: Fri Feb 23 01:11:57 2018
New Revision: 329848
URL: https://svnweb.freebsd.org/changeset/base/329848

Log:
  __printf_render_int(): small type change to match use.
  
  Variable l is consistently used as an int rather than a char.
  Sort names while here.
  
  Obtained from:	Apple's Libc-1244.30.3
  MFC after:	5 days

Modified:
  head/lib/libc/stdio/xprintf_int.c

Modified: head/lib/libc/stdio/xprintf_int.c
==============================================================================
--- head/lib/libc/stdio/xprintf_int.c	Fri Feb 23 00:38:42 2018	(r329847)
+++ head/lib/libc/stdio/xprintf_int.c	Fri Feb 23 01:11:57 2018	(r329848)
@@ -260,8 +260,8 @@ __printf_render_int(struct __printf_io *io, const stru
 	const union arg *argp;
 	char buf[BUF];
 	char *p, *pe;
-	char ns, l;
-	int rdx, sign, zext, ngrp;
+	char ns;
+	int l, ngrp, rdx, sign, zext;
 	const char *nalt, *digit;
 	char thousands_sep;	/* locale specific thousands separator */
 	const char *grouping;	/* locale specific numeric grouping rules */


More information about the svn-src-all mailing list