[Freeciv-Dev] Re: Compiler-warnings
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Tue, Jan 23, 2001 at 10:05:01PM +0100, Falk Hueffner wrote:
> Gerhard Killesreiter <killesreiter@xxxxxxxxxxxxxxxxxxxxxx> writes:
>
> > When compiling on IRIX with gcc I get a lot of warnings:
> >
> > stdinhand.c: In function `cmdlevel_command':
> > stdinhand.c:1957: warning: subscript has type `char'
This is my code, and the subscript is a subscript in a short array.
The intention was to use a shorter integer, so 'unsigned char' is what
is intended here. In all the other 'subscript' cases, you can assume
that unsigned chars were intended as well.
i--
Reinier
- [Freeciv-Dev] Re: Compiler-warnings, (continued)
- [Freeciv-Dev] Re: Compiler-warnings, Raimar Falke, 2001/01/24
- [Freeciv-Dev] Re: Compiler-warnings, Gerhard Killesreiter, 2001/01/24
- [Freeciv-Dev] Re: Compiler-warnings, Raimar Falke, 2001/01/24
- [Freeciv-Dev] Re: Compiler-warnings, Stepan Roh, 2001/01/24
- [Freeciv-Dev] Re: Compiler-warnings, Raimar Falke, 2001/01/24
- [Freeciv-Dev] Re: Compiler-warnings, Tony Stuckey, 2001/01/24
- [Freeciv-Dev] Re: Compiler-warnings, Stepan Roh, 2001/01/24
- [Freeciv-Dev] Re: Compiler-warnings, Raimar Falke, 2001/01/24
- [Freeciv-Dev] Re: Compiler-warnings, Falk Hueffner, 2001/01/24
- [Freeciv-Dev] Re: Compiler-warnings, Dirk Stoecker, 2001/01/25
[Freeciv-Dev] Re: Compiler-warnings,
Reinier Post <=
[Freeciv-Dev] Re: Compiler-warnings, Dirk Stoecker, 2001/01/24
|
|