Date: Sun, 7 Mar 1999 15:17:01 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: djgpp AT delorie DOT com Subject: Re: HELP ME!!!! PLEASE!!! In-Reply-To: <36e27442.0@news.uni-bielefeld.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sun, 7 Mar 1999, Manni Heumann wrote: > In article <36E1A14F DOT 2CA5 AT hotmail DOT com>, "A.L.A. Corp. / A.S.A. Inc." wrote: > > >DJGPP COMPILER SAYS: > > > >Warning: passing arg 1 of `logoasa' makes pointer from integer without > >a cast [snip] > >logoasa('G',26); > > argument one is a char. A char is just a small integer. > I admit, that DJGPP's warning might be a little confusing, but it is right. ``Confusing''? How? 'G' is an integer whose value is the ASCII code of the character G. The function `logoasa' expects a pointer, but gets an integer. This is exactly what GCC says.