From b7310c9cce95bfc9bfe135063ee0e97fbc654928 Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 1 Nov 2021 16:53:51 +0800 Subject: *misc --- Runtime/Common/DataBuffer.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Runtime/Common/DataBuffer.h') diff --git a/Runtime/Common/DataBuffer.h b/Runtime/Common/DataBuffer.h index 7b89ab5..dbe7c30 100644 --- a/Runtime/Common/DataBuffer.h +++ b/Runtime/Common/DataBuffer.h @@ -23,7 +23,11 @@ public: delete data; } - char* data; + union { + char* data; + unsigned char* udata; + char* sdata; + }; int length; EDataBufferType type; -- cgit v1.1-26-g67d0