提交 15b08b48 编写于 作者: P prife

dfs: fix the variable definition bug in copy, found by ffgamelife from rt-thread.org

上级 7c45dc02
......@@ -599,7 +599,7 @@ void copy(const char *src, const char *dst)
{
struct dfs_fd src_fd;
rt_uint8_t *block_ptr;
rt_uint32_t read_bytes;
rt_int32_t read_bytes;
block_ptr = rt_malloc(BUF_SZ);
if (block_ptr == RT_NULL)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册