# HG changeset patch # User ChristianK # Date 1214240912 -7200 # Node ID 0548a7720a1be7067e659b71521eb8c64ef109ee # Parent 895e1b50cf2ab4c65902b95d06e4268807e0cfb1 [svn r317] Convert result of _adEq runtime function to bool to make sure EqualExp returns i1 bool. diff -r 895e1b50cf2a -r 0548a7720a1b gen/arrays.cpp --- a/gen/arrays.cpp Mon Jun 23 14:48:42 2008 +0200 +++ b/gen/arrays.cpp Mon Jun 23 19:08:32 2008 +0200 @@ -808,7 +808,7 @@ if (op == TOKnotequal) res = gIR->ir->CreateNot(res, "tmp"); - return res; + return DtoBoolean(res); } //////////////////////////////////////////////////////////////////////////////////////////