chore(typegen): read_all 长度参数去掉多余 ULONG 转换
This commit is contained in:
1 parent
d8648176e9
commit
2f4031b3d6
1 file changed
+1
-1
@@ -1057,7 +1057,7 @@ novirtual class TypeGenResolve(TypeGenBase.TypeGenBase):
|
||||
if bf.closed:
|
||||
stdlib.free(b_buf)
|
||||
return None
|
||||
b_read: LONG = bf.read_all(b_buf, ULONG(BUF_B))
|
||||
b_read: LONG = bf.read_all(b_buf, BUF_B)
|
||||
bf.close()
|
||||
if b_read <= 0:
|
||||
stdlib.free(b_buf)
|
||||
|
||||
Reference in new issue
Block a user