fixed buffer

fixed some compiler warnings

made the code work with g++ and without warnings

(0) -30 -10 -3 +3 +10 +30 +100 +300 tip

mercurial