diff options
Diffstat (limited to 'c++/test/ttypes.cpp')
-rw-r--r-- | c++/test/ttypes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/test/ttypes.cpp b/c++/test/ttypes.cpp index 557f400..c9f70e7 100644 --- a/c++/test/ttypes.cpp +++ b/c++/test/ttypes.cpp @@ -411,7 +411,7 @@ static void test_named () itype.commit(file, "native-int"); // Check that it is committed. - if (itype.committed() <= 0) + if (itype.committed() == false) cerr << "IntType::committed() returned false" << endl; // We should not be able to modify a type after it has been committed. |