fix write_ff bug.
c99 suport
Merge pull request #16 from lvzixun/B-sproto-original

fix write_ff bug