Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

lloyddean

macrumors 65816
May 10, 2009
1,047
19
Des Moines, WA
There is an insidious bug in the INDEX macro. It manifests in cases like this:
Code:
sprintf(&PCR1[INDEX(no, d+1, t)], "%d", amount);
If the problem isn't obvious, I recommend manually expanding the macro to see it.

Hint: rhymes with "crop aerator decadence".

chown33
How very Freudian of me. The very thing I was trying to show that needed to be guarded against in one of the other threads.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.