| John ffitch wrote:
> next problem is
>
> frontends/CsoundVST/CsoundVST.cpp: In member function 'virtual int CsoundVST::perform()':
> frontends/CsoundVST/CsoundVST.cpp:342: error: cast from 'void*' to 'int' loses precision
> scons: *** [frontends/CsoundVST/CsoundVST.os] Error 1
The above is a disaster waiting to happen on 64 bit systems. On many
64 bit systems, sizeof (void*) == 8 and sizeof (int) == 4 which means
that casting from void* to int is a lossy operation.
Erik
--
+-----------------------------------------------------------+
Erik de Castro Lopo
+-----------------------------------------------------------+
"TURKEY'S public television TRT, controlled by the Islamist-rooted government,
has barred the popular Walt Disney cartoon Winnie the Pooh from air because
it has a piglet as one of its main heroes"
-- http://www.news.com.au/story/0,10117,19503274-1702,00.html
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |