Re: Another hyperspace bug found --> random and Neural Net

Dominik 'Rathann' Mierzejewski <[email protected]>
Newsgroups gmane.mail.spam.crm114
Message-ID <[email protected]>
On Thursday, 19 June 2008 at 14:31, Bill Yerazunis wrote:
> 
> Yep.  Here's another worm (unsightly and annoying)...
> 
> Why is it that x86 GCC doesn't believe that "unsigned long" 
> and "uint32_t" are the same type underneath?

Technically they are, but only on 32bit platforms. On 64bit
platforms long is 64bit (except on Win64 I think :>).

> Specifically, when doing an fprintf, I get annoying warnings
> that there's a type mismatch.
> 
> Is this me?  Is there a flag that says "Yo!  Be smart about
> what a type is!" or some such like that?

There are PRI?64 macros for printf-ing 64bit int types.

Regards,
R.

-- 
Fedora http://fedoraproject.org/wiki/User:Rathann
Livna http://rpm.livna.org | MPlayer http://mplayerhq.hu
"Faith manages."
        -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.