Same problem as with size_t. The types must match exactly when using CPPUNIT_ASSERT_EQUAL and using 'l' or 'ul' suffix is not sufficient under 32-bit.