Path: chuka.playstation.co.uk!news From: "Rikki Prince" Newsgroups: scee.yaroze.freetalk.english Subject: Re: George Bain Tutorial Warnings Date: Sat, 13 Jul 2002 15:33:17 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 27 Message-ID: References: NNTP-Posting-Host: pc-62-31-230-115-ba.blueyonder.co.uk X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.3018.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 "Rikki Prince" wrote in message news:agpcod$d9k18@www.netyaroze-europe.com... > "Derek da Silva" wrote in message > news:agookg$d9k15@www.netyaroze-europe.com... > > Hi Rikki > > > > Just typecast the pointers to the cntrl_data struct: > > > > GetPadBuf((volatile u_char**)&buffer1,(volatile > u_char**)&buffer2) > > > > That should get rid of the warnings for you.. > > Cheers Derek. That did the trick. I was trying to typecast it, but the > lack of 'volatile' and 'unsigned' from my attempts was probably where > I fell down. Somehow 3am manages to be the best and worst time to code > at the same time... :-S In fact, it helped more when I linked the right library file... :( Oh well, it can only get better... Rikki