nodePath.node() trouble in C++

in python:

bv = base.cam.node().getLens().makeBounds()

but how to do this in c++? PandNode* does not want to cast to Camera*?

Thank you for helping!

What sort of problems do you have casting?

camNode=((Camera) camera.node());

well the thing is i was casting to PT(Camera) but i got that resovled thnx to another C++ person i found.