Oleh Derevenko - 2012-10-31

By standard, unsigned long is "an integral type not less than 4 bytes in size". Funny, but uint32 has exactly the same definition. So as long as you use lower 4 bytes that should not be causing problems.