[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#7200: [PATCH] mbsalign: avoid warning with Solaris 10 cc
From: |
Jim Meyering |
Subject: |
bug#7200: [PATCH] mbsalign: avoid warning with Solaris 10 cc |
Date: |
Sun, 17 Apr 2011 10:57:17 +0200 |
Jim Meyering wrote:
> Paul Eggert wrote:
>> For the Oct. 10 snapshot Solaris 10 cc issues this warning:
>>
>> "mbsalign.c", line 135: warning: initializer does not fit or is out of
>> range: -1
>>
>> This is just a warning and doesn't break anything, but it's trivial to fix:
>
> This too looks safe enough.
> Feel free to push that.
>
>> Subject: [PATCH] mbsalign: avoid warning with Solaris 10 cc
>>
>> * gl/lib/mbsalign.c: Include <stdint.h> for SIZE_MAX.
>> Use SIZE_MAX rather than (size_t) -1, to avoid warning for
>> "size_t x = -1" on Solaris 10 cc.
>> * gl/modules/mbsalign (Depends-on): Add stdint.
Patched 6 months ago. Closing.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#7200: [PATCH] mbsalign: avoid warning with Solaris 10 cc,
Jim Meyering <=