summaryrefslogtreecommitdiff
path: root/Runtime/Common/DataBuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'Runtime/Common/DataBuffer.h')
-rw-r--r--Runtime/Common/DataBuffer.h6
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;