Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!asuvax!stjhmc!p12.f56.n114.z1.fidonet.org!Chris.Gehlker From: Chris.Gehlker@p12.f56.n114.z1.fidonet.org (Chris Gehlker) Newsgroups: comp.sys.mac.programmer Subject: CtoPstr Message-ID: <32581.276B8C2B@stjhmc.fidonet.org> Date: 16 Dec 90 14:47:48 GMT Sender: ufgate@stjhmc.fidonet.org (newsout1.26) Organization: FidoNet node 1:114/56.12 - AZ MAC UG, Phoenix AZ Lines: 16 In article rg2c+@andrew.cmu.edu (Robert Nelson Gasch) asks: RNG> Could anybody out there please tell me what exactly the function RNG> prototype for CtoPstr looks like? When I call it using RNG> CtoPstr (&temp); RNG> where temp is of type Str255. I get the error "Call does not RNG> match function prototype" or something of that sort. Your problem is that a Str255 is an unsigned char * but CtoPstr is char * CtoPstr(char *) so you need to cast temp to char *. -- Uucp: ...{gatech,ames,rutgers}!ncar!asuvax!stjhmc!56.12!Chris.Gehlker Internet: Chris.Gehlker@p12.f56.n114.z1.fidonet.org