From: Greg Chicares <chicares@mi...>  20020915 23:41:29

Neil Nelson wrote: > > a = a & 0xFF; > b = (b<<8) & 0xFF00; > c = (c<<16) & 0xFF0000; > d = (d<<24) & 0xFF000000; > e = (e<<32) & 0xFF00000000; // *** > f = (f<<40) & 0xFF0000000000; > g = (g<<48) & 0xFF000000000000; > h = (h<<56) & 0xFF00000000000000; > > with the error being "integer constant out of range". And > of course the problem is the size of the integer constant. Try changing e = (e<<32) & 0xFF00000000; to e = (e<<32) & 0xFF00000000ULL; and so on. 