Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!uwmcsd1!ig!agate!ucbvax!CORY.BERKELEY.EDU!dillon From: dillon@CORY.BERKELEY.EDU (Matt Dillon) Newsgroups: comp.sys.amiga Subject: Re: Question about TmpRas Message-ID: <8809010257.AA14564@cory.Berkeley.EDU> Date: 1 Sep 88 02:57:12 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 20 :was a typoe while posting the question. My question still stands. :What is wrong with this code, : Window->RPort->TmpRas = : InitTmpRas(&tmpras, raster, RASSIZE(maxx, maxy)); :The Manx compiler gives an error of illegal type conversion. As I Oh, sorry. I should have realized it wasn't as easy as that.... RKM says you are right. Manx compiler did the right thing giving the error. So the code is wrong. What you need to do is: InitTmpRas(&tmpras ...); Window->RPort->TmpRas = &tmpras; >previously said, the InitTmpRas function is declared to be a void >and should not return anything. So why would someone write this? >Bill Murphy >murphy@newton.physics -Matt