typedef unsigned int

otherwise error on Windows