(csv) fix compilation warnings