diff options
| author | Yong He <yonghe@outlook.com> | 2017-11-04 18:43:03 -0400 |
|---|---|---|
| committer | Yong He <yonghe@outlook.com> | 2017-11-04 18:43:03 -0400 |
| commit | 215ce206838db63fdd310a0ababe421799011d21 (patch) | |
| tree | db190abec3cd8c814a59a6f4905adcaf89bbe058 /source/slang/bytecode.h | |
| parent | 784bd914cface6e5837ef0da7aee0df2e16c4999 (diff) | |
fixes x64 warnings
Diffstat (limited to 'source/slang/bytecode.h')
| -rw-r--r-- | source/slang/bytecode.h | 2 |
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 { |
