Hi Steve,
    Changing the callback function prototype to
static void DrawBatchesData(MemPtr BatchesTable, Int16 row,
                Int16 column, RectanglePtr bounds);

works without any problem, please try using Int16 instead of UInt16.


thanks,
  Manikumar K

--------------------------------------------------------------------
Developers' Nation
You've got the questions; we've got the answers.
Visit Us At :http://www.devnation.net for Palm Developer Support
--------------------------------------------------------------------
   

-----Original Message-----
From: Seeley, Steve E [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 16, 2001 2:56 PM
To: Palm Developer Forum
Subject: Warning on SDK 3.5 for incompatible pointer type


Hi all,

        I've just updated my application code base to use SDK 3.5.
Everything is working fine.  However I get a warning message that I can't
get to go away.  It's complaining about call back function identifier.

Here's the warning message;
        warning: passing arg 3 of `TblSetCustomDrawProcedure' from
incompatible pointer type

Here's the source code line causing the warning message;
        TblSetCustomDrawProcedure(BatchesTable, 0, DrawBatchesData);

Here's the call back functions prototype;
        static void DrawBatchesData(MemPtr BatchesTable, UInt16 row,
                UInt16 column, RectanglePtr bounds);

Here's the 1st parameter passed;
        MemPtr       BatchesTable;

Any help would be appreciated,
Thanks,
Steve



-- 
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to