mempool: change flags from int to unsigned int