fw/layer1: Fix compiler warning about mismatched ptr types