summaryrefslogtreecommitdiff
path: root/source/slang/bytecode.h
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2017-11-03 09:38:02 -0400
committerYong He <yonghe@outlook.com>2017-11-03 09:38:02 -0400
commita0458266d7cd5d802b8c51e6a997b4bf0d9beb82 (patch)
tree39f16538178907240e59b8e531ae153391805833 /source/slang/bytecode.h
parentd5e2319c33115d0241dd9d2047c0a5f029553dde (diff)
in-progress work
Diffstat (limited to 'source/slang/bytecode.h')
-rw-r--r--source/slang/bytecode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/bytecode.h b/source/slang/bytecode.h
index 75b9f15cd..f1ad52c32 100644
--- a/source/slang/bytecode.h
+++ b/source/slang/bytecode.h
@@ -56,7 +56,7 @@ struct BCPtr
{
if (ptr)
{
- rawVal = (char*)ptr - (char*)this;
+ rawVal = (RawVal)((char*)ptr - (char*)this);
}
else
{