Fixing first problem of an unbalanced simple cast with unsigned integer (works with vc but not with g++) ;