fix more C90 warnings