Ver código fonte

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

Brucey 4 anos atrás
pai
commit
d94e61c897
1 arquivos alterados com 1 adições e 1 exclusões
  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