Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!att!news.cs.indiana.edu!spool2.mu.edu!sdd.hp.com!wuarchive!mit-eddie!uw-beaver!cornell!vax5.cit.cornell.edu!u2zj From: u2zj@vax5.cit.cornell.edu (Stanton Loh) Newsgroups: comp.sys.mac.programmer Subject: Re: CtoPstr Message-ID: <1990Dec14.111334.1618@vax5.cit.cornell.edu> Date: 14 Dec 90 15:13:33 GMT References: Distribution: comp Lines: 23 In article , rg2c+@andrew.cmu.edu (Robert Nelson Gasch) writes: > This is probably really stupid, but I can't figure out what I'm doing > wrong. It's getting sort of frustrating. > > Could anybody out there please tell me what exactly the function > prototype for CtoPstr looks like? When I call it using > > CtoPstr (&temp); > > where temp is of type Str255. I get the error "Call does not match > function prototype" or something of that sort. > > Thanx > --> Rob The prototype is: char *CtoPstr(char *); but the compiler complains because Str255 is a pointer to unsigned char. -Stanton