From 4c22ba5a6066bd60badb65b6ce745562664c1705 Mon Sep 17 00:00:00 2001 From: hyzboy Date: Fri, 7 Aug 2020 21:57:59 +0800 Subject: [PATCH] change MemoryOutputStream::CreateCopyData param type. --- inc/hgl/io/MemoryOutputStream.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/hgl/io/MemoryOutputStream.h b/inc/hgl/io/MemoryOutputStream.h index 04baf93..ea6ce88 100644 --- a/inc/hgl/io/MemoryOutputStream.h +++ b/inc/hgl/io/MemoryOutputStream.h @@ -44,7 +44,7 @@ namespace hgl * @param len 存放数据长度的指针 * @return 创建好的内存拷贝 */ - void *CreateCopyData(uint *len)const + void *CreateCopyData(int *len)const { if(buf_size<=0) return(nullptr);