IB/srp: Fix integer -> pointer cast warnings