MemHandleLock() returns a VoidPtr (i.e void *). fieldP is declared as a char
*. The assignment needs a cast:

fieldP = (char *)MemHandleLock(fieldH);

BTW should fieldP be declared as a FieldPtr?

Pete

> -----Original Message-----
> From: Elizabeth Chang [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, February 16, 2000 1:29 PM
> To:   Palm Developer Forum
> Subject:      SDK 3.5 Type Conversion Error
> 
> Error   : cannot convert
> 'void *' to
> 'char'
> FRPchecklist.c line 704      fieldP = MemHandleLock(fieldH);
> 
> 

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to