瀏覽代碼

SizeOf() now returns a Size_T. Resolves #541.

Brucey 4 年之前
父節點
當前提交
d94e61c897
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      expr.bmx

+ 1 - 1
expr.bmx

@@ -3181,7 +3181,7 @@ Type TSizeOfExpr Extends TBuiltinExpr
 	Method Semant:TExpr(options:Int = 0)
 		If exprType Return Self
 		expr=expr.Semant()
-		exprType=New TIntType
+		exprType=New TSizeTType
 		Return Self
 	End Method