Re: [hatari-devel] warning: array subscript has type ‘char’ [-Wchar-subscripts] |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] warning: array subscript has type ‘char’ [-Wchar-subscripts]
- From: Vincent Rivière <vincent.riviere@xxxxxxxxxxx>
- Date: Tue, 17 Jun 2014 22:49:50 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=4Ds2jRKQnC0gwn7c87D3k5lNvkg+piHehqlLzBjbi74=; b=mErdXVxbCjb//DjZYkqR1KZTp0zuoH1s0jpdT/yFDQIq/TxRDeGM9FFWSSrwpjPU6E BemcplYezn5i6paUk4I1rjEX6A8BtiTEUffkt+ayly2sdVPhZe9HtD6V3iHDaBR1++mY qTm/ATpVZSpUNJsKd94GxLUmHfTYXgFtc1uH50VBzmod06UkP4njKTxrYv0M1iErubYf aM4pbLxbTuGWaBmWRMggzMhDupojRmyLGynF5IEZnPDMGooAompJuW3frDczMRpjqOMZ aafXILBJ9CtYct16J7gNsCJWDWjjys72frpEU/C4sZakL9w6iZkRpwXgtpr1wlXCOD+M nL5g==
On 17/06/2014 14:39, Thomas Huth wrote:
So I changed the source code now ... if you've got some spare time,
could you please try it again to see whether I catched all spots?
Almost perfect!
There is only one remaining warning:
src/str.c: In function ‘Str_Trim’:
src/str.c:36:3: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (!isspace(buffer[i]))
^
--
Vincent Rivière