fixed the fread() bug in another place
Merge pull request #2 from dolphinigle/master

fixed the fread() bug in another place