PTP class driver: Fix compiler warnings