From 215ce206838db63fdd310a0ababe421799011d21 Mon Sep 17 00:00:00 2001 From: Yong He Date: Sat, 4 Nov 2017 18:43:03 -0400 Subject: fixes x64 warnings --- source/slang/bytecode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/slang/bytecode.h') 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 { -- cgit v1.2.3