delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/08/28/05:02:54

From: dyoung AT vviuh221 DOT vvi DOT com (David Young)
Subject: Re: BUG in function parameter passing ??????
28 Aug 1998 05:02:54 -0700 :
Message-ID: <9808280305.AA02803.cygnus.gnu-win32@vviuh221.vvi.com>
Reply-To: dyoung AT vviuh221 DOT vvi DOT com
To: Mark DOT Koennecke AT psi DOT ch
Cc: GNU-WIN32 AT cygnus DOT com

Mark,

Just incase you noticed, there is a slight erratum, the function body  
should go like:

while(*pText != '\0')
{
      *pText = tolower(*pText);
      pText++;
}

NOT:

while(*pText != NULL)
{
      *pText = tolower(*pText);
      pText++;
}

Thanks A Bunch! David Young; VVI-DCS
http://www.vvi.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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