The barb is only 5mm long so not a lot ?Should be fine - both 5mm DOT 4/5.1 fluid. The real question is how much hose you'll need to chop off to remove the old fittings and whether it'll be too short afterwards.
The World's largest electric mountain bike community.