parent
fec620fafa
commit
11d148a5eb
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue