[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Avoid warning when char is unsigned

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Mon, 15 Apr 2013 13:45:24 +0100

Mattias Engdegård <mattiase_at_bredband.net> writes:

> Avoid a "condition always true" warning on platforms where char
> is unsigned by default, such as PowerPC and ARM.
>
> * subversion/libsvn_subr/utf_validate.c
> (first_non_fsm_start_char, first_non_fsm_start_char_cstring):
> Add explicit cast to avoid warning when plain char is unsigned.

Looks correct, +1

-- 
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download
Received on 2013-04-15 14:46:05 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.