Replaced previous size_t by unsigned int so Flagoul is happy