Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uwm.edu!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!apple!jrd From: jrd@Apple.COM (John Robert Dance) Newsgroups: comp.sys.mac.programmer Subject: Re: More on MPW C 3.0 question Message-ID: <38816@apple.Apple.COM> Date: 20 Feb 90 23:05:36 GMT References: <162.25dfe4b3@waikato.ac.nz> Organization: Apple Computer Inc, Cupertino, CA Lines: 12 Lawrence: In your example, the array and the pointer are really are two incompatible types. The two types are: (char *)[256] = char * In ANSI C this in an incompatible assignment. (This is because the address arithmetic for a pointer to a foo is different than for a pointer to an array of foo.) It is not a bug in MPW C. The way to do what you want is to use the cast, or use a StringPtr. John Dance Apple Computer