icp: fixed compiler warning