Change BUFSIZ type to work with cbindgen

This commit is contained in:
jD91mZM2
2018-09-26 18:44:04 +02:00
parent 243ce18ecd
commit 4f187efc9b
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ impl GlobalFile {
file,
flags: constants::F_PERM | flags,
read_buf: Buffer::Owned(vec![0; BUFSIZ]),
read_buf: Buffer::Owned(vec![0; BUFSIZ as usize]),
read_pos: 0,
read_size: 0,
unget: None,