removed compiler warnings in port driver