Q: Realloc of function parameter problem - correction.
Stanislaw L. Olejniczak
SLORES at umiami.miami.edu
Mon Nov 27 06:39:02 AEST 1989
In article <3752 at umiami.miami.edu>, SLORES at umiami.miami.edu (Stanislaw L. Olejniczak) writes:
>
> *substr = (char *) realloc ( (unsigned) (numchar + 1), *substr);
Sorry - it's suppoused to read:
> *substr = (char *) realloc ( *substr, (unsigned) (numchar + 1));
----
Stan Olejniczak Internet: slores at umiami.miami.edu
University of Miami, FL USA UUCP: (temp void) gould!umbio!solejni
SLORES at UMIAMI.BITNET UUCP: (?) umigw!gables!slores
Voice: (305) 547-6571 FAX: (305) 548-4612
My opinions cannot possibly represent the views of anyone else!
More information about the Comp.lang.c
mailing list