From owner-svn-src-all@FreeBSD.ORG Wed Jul 4 17:35:08 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 56FF51065670; Wed, 4 Jul 2012 17:35:08 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 40F178FC16; Wed, 4 Jul 2012 17:35:08 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q64HZ8El023438; Wed, 4 Jul 2012 17:35:08 GMT (envelope-from pjd@svn.freebsd.org) Received: (from pjd@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q64HZ8UF023435; Wed, 4 Jul 2012 17:35:08 GMT (envelope-from pjd@svn.freebsd.org) Message-Id: <201207041735.q64HZ8UF023435@svn.freebsd.org> From: Pawel Jakub Dawidek Date: Wed, 4 Jul 2012 17:35:08 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r238111 - in head: include lib/libc/stdio X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jul 2012 17:35:08 -0000 Author: pjd Date: Wed Jul 4 17:35:07 2012 New Revision: 238111 URL: http://svn.freebsd.org/changeset/base/238111 Log: The register_printf_render_std() function expects regular string. Change argument type from 'const unsigned char *' to 'const char *'. MFC after: 2 weeks Modified: head/include/printf.h head/lib/libc/stdio/xprintf.c Modified: head/include/printf.h ============================================================================== --- head/include/printf.h Wed Jul 4 17:31:53 2012 (r238110) +++ head/include/printf.h Wed Jul 4 17:35:07 2012 (r238111) @@ -123,7 +123,7 @@ int register_printf_function(int spec, p /* FreeBSD */ int register_printf_render(int spec, printf_render *render, printf_arginfo_function *arginfo); -int register_printf_render_std(const unsigned char *specs); +int register_printf_render_std(const char *specs); /* vprintf_errno.c */ printf_arginfo_function __printf_arginfo_errno; Modified: head/lib/libc/stdio/xprintf.c ============================================================================== --- head/lib/libc/stdio/xprintf.c Wed Jul 4 17:31:53 2012 (r238110) +++ head/lib/libc/stdio/xprintf.c Wed Jul 4 17:35:07 2012 (r238111) @@ -651,7 +651,7 @@ register_printf_render(int spec, printf_ } int -register_printf_render_std(const unsigned char *specs) +register_printf_render_std(const char *specs) { for (; *specs != '\0'; specs++) {