From owner-svn-src-head@FreeBSD.ORG Wed Sep 2 04:56:30 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D69721065672; Wed, 2 Sep 2009 04:56:30 +0000 (UTC) (envelope-from ache@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id C604F8FC25; Wed, 2 Sep 2009 04:56:30 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n824uU1D082138; Wed, 2 Sep 2009 04:56:30 GMT (envelope-from ache@svn.freebsd.org) Received: (from ache@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n824uUqQ082136; Wed, 2 Sep 2009 04:56:30 GMT (envelope-from ache@svn.freebsd.org) Message-Id: <200909020456.n824uUqQ082136@svn.freebsd.org> From: "Andrey A. Chernov" Date: Wed, 2 Sep 2009 04:56:30 +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: r196752 - head/lib/libc/stdtime X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 04:56:30 -0000 Author: ache Date: Wed Sep 2 04:56:30 2009 New Revision: 196752 URL: http://svn.freebsd.org/changeset/base/196752 Log: Use (unsigned char) cast for ctype macro Modified: head/lib/libc/stdtime/strptime.c Modified: head/lib/libc/stdtime/strptime.c ============================================================================== --- head/lib/libc/stdtime/strptime.c Wed Sep 2 04:43:46 2009 (r196751) +++ head/lib/libc/stdtime/strptime.c Wed Sep 2 04:56:30 2009 (r196752) @@ -529,7 +529,7 @@ label: buf++; i = 0; for (len = 4; len > 0; len--) { - if (isdigit((int)*buf)) { + if (isdigit((unsigned char)*buf)) { i *= 10; i += *buf - '0'; buf++;