RayCast bug in b2BroadPhase

Hi,

I think i found a bug which occurs when calling b2World::RayCastOne() using b2BroadPhase instead of b2DynamicTreeBroadPhase:
the arguments are interchanged:

b2DynamicTree.RayCast: (line 280)
Code:
maxFraction = callback(subInput, node);


b2BroadPhase::RayCast: (line 779)
Code:
subInput.maxFraction = callback(m_queryResults[i], subInput);


b2World::RayCast: (line 840 ff)
Code:
function RayCastWrapper(input:b2RayCastInput, proxy:*):Number
{
   var userData:* = broadPhase.GetUserData(proxy);


so the as-operation fails in
b2BroadPhase::GetUserData: (line 620)
Code:
return (proxy as b2Proxy).userData;


Regards,
Uli

Original thread: https://box2d.org/forum/viewtopic.php?t=5540