diff options
Diffstat (limited to 'Runtime/Common/DataBuffer.h')
-rw-r--r-- | Runtime/Common/DataBuffer.h | 6 |
1 files changed, 5 insertions, 1 deletions
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; |