> This is incorrect for C99 and indeed any compiler that supports "long long". > On such systems, the integer constant 3222829167 > has type "long long", and it is absolutely guaranteed to preserve that value > when cast to unsigned. Assuming 32-bit int, of course.
It is also incorrect for C90. See here https://en.cppreference.com/w/c/language/integer_constant. For C90 an integer constant without suffix can be int, long int or unsigned long int. In this case is it would be unsigned long int. A+ Paul _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users