|
From: | Paul Eggert |
Subject: | Re: [PATCH] grep -i: work also when converting to lower-case inflates byte count |
Date: | Sat, 16 Jun 2012 08:41:33 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 |
On 06/16/2012 05:34 AM, Jim Meyering wrote: > - unsigned char *map = NULL; > + char *map = NULL; This isn't portable, as 'char' is unsigned on some platforms. Changing it to 'signed char' or to 'int_least8_t' should fix the problem. Similarly elsewhere.
[Prev in Thread] | Current Thread | [Next in Thread] |