Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Feb 2018 01:11:57 +0000 (UTC)
From:      "Pedro F. Giffuni" <pfg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r329848 - head/lib/libc/stdio
Message-ID:  <201802230111.w1N1Bvrm066265@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802230111.w1N1Bvrm066265>