Can you also change this to a c++-style cast while you're at it?    blah = static_cast<unsigned int>(value)