fix longstanding compiler warning