Lars Gullik Bjønnes wrote: > |char array[PATH_MAX + 1]; > |FSRefMakePath(&fsref, reinterpret_cast<UInt8*>(array), PATH_MAX); > > So FSRefMakePath really should have another type.
It's hard to know how native API's are meant to be used when I've never, ever coded for a Mac and haven't played with one for about 10 years ;-) > Anyway, I think that putting the reinterpret_cast in the call to > FSRefMakePath is better that what you had originally. Thanks. I'll make that change then. -- Angus