fixed mac os compiler warning for versions <9.3