Mail Archives: djgpp/1999/03/07/08:18:51

Date: Sun, 7 Mar 1999 15:17:01 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: djgpp AT delorie DOT com
Subject: Re: HELP ME!!!! PLEASE!!!
In-Reply-To: <>
Message-ID: <Pine.SUN.3.91.990307151353.4744A-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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." <a_azevedo AT hotmail DOT com> wrote:
> >
> >Warning:  passing arg 1 of `logoasa' makes pointer from integer without
> >a cast
> >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.

- Raw text -

  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019