Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 64bit math in Xcode



This was legal in CW8.3, but I get a warning in Xcode 2.1

UInt64          startTime, deltaTime;
AbsoluteTime    absDelta;

absDelta.hi = (deltaTime & 0xFFFFFFFF00000000) >> 32;

Can Xcode not handle a 64bit bitwise AND with bitshift?

Numeric constants are of type "int" by default.

Try  "0xFFFFFFFF00000000ULL" instead.
--
-- Marshall

Marshall Clow     Idio Software   <mailto:email@hidden>

It is by caffeine alone I set my mind in motion.
It is by the beans of Java that thoughts acquire speed,
the hands acquire shaking, the shaking becomes a warning.
It is by caffeine alone I set my mind in motion.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >64bit math in Xcode (From: Trygve Inda <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.