#define SCNu32 "lu" 

decimal scanf format for uint32_t