Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!ames!lll-winken!uunet!mcvax!kth!draken!d88-jwa From: d88-jwa@nada.kth.se (Jon W{tte) Newsgroups: comp.lang.c Subject: Re: arrays of pointers - NOVICE QUESTION!( Be forwarned ! ) Keywords: pointers, arrays Message-ID: <1170@draken.nada.kth.se> Date: 5 Jun 89 09:39:32 GMT References: <10971@orstcs.CS.ORST.EDU> <17882@mimsy.UUCP> Reply-To: d88-jwa@nada.kth.se (Jon W{tte) Organization: Royal Institute of Technology, Stockholm, Sweden Lines: 13 > * malloc below is implicitly cast to (char **), but this > * depends on it returning (void *); old compilers need the > * cast, since malloc() returns (char *). The same applies Hmmm. I thought that malloc() returned an unsigned long. At least it does on the Motorola compiler from 1982 I use, under Unix sys V for M68k-based machines. Can anyone who has more knowledge than me clarify this point ? -- __ Jon W{tte (The dread Smiley Shark) email:h+@nada.kth.se / \ (+46 (0) 8 258 268) /--- (c) 1989 Yessbox Allright Professional Products Inc. - Y.A.P.P.I. / -- No More --