Fix some error introduced in previous commit in Buffer.c