Maximum value of uint32_t should be UINT32_MAX instead of ULONG_MAX am: 937551c7d1

Change-Id: I8ff8b135f1ce89e51f3a03b5f92efd01edb59ab2