get back to single-byte reads

Signed-off-by: raver119 <raver119@gmail.com>
master
raver119 2020-03-04 08:14:39 +03:00
parent fec620fafa
commit 11d148a5eb
1 changed files with 1 additions and 1 deletions

View File

@ -837,7 +837,7 @@ uint8_t* readFlatBuffers(const char * filename) {
int cnt = 0; int cnt = 0;
int b = 0; int b = 0;
while (cnt < fileLen) { while (cnt < fileLen) {
b = fread(data + cnt, 1, 16384, in); b = fread(data + cnt, 1, 1, in);
cnt += b; cnt += b;
} }