--- Randy Kunkee <[EMAIL PROTECTED]> wrote:


>Haven't looked at the code, but probably "t" is not an int. If it's a  
>pointer, you're in for trouble.
>
>Just to take a stab at it, try just casting the t instead of the  
>whole expression. The following should compile and might even work:
>
>        int tid = (int)t & 0xFFFF;

That does indeed compile; I have not tested it yet to see if it actually works. 
 It is odd that the same code compiles on Solaris, though with gcc 3.3.2. 
Perhaps a compiler oddity with gcc 3.4?  

-- 
Mike


_____________________________________________________________
Tired of spam and viruses? Get a VolcanoMail account with SpamShield Pro and 
Anti-Virus technology! http://www.volcanomail.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to