瀏覽代碼

fixed unknown type (win32)

Johannes R 12 年之前
父節點
當前提交
d5f2714a67
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/basics/tests/Testcasts.cpp

+ 1 - 1
core/basics/tests/Testcasts.cpp

@@ -44,7 +44,7 @@ void Testcasts::testCasts() {
     float x=1.56;
     float y=1.34;
     CPPUNIT_ASSERT_EQUAL(2l, round_to_nearest_cast<long>(x));
-    CPPUNIT_ASSERT_EQUAL(1ul, round_to_nearest_cast<ulong>(y));
+    CPPUNIT_ASSERT_EQUAL(1ul, round_to_nearest_cast<unsigned long>(y));
     CPPUNIT_ASSERT_EQUAL(-2l, round_to_nearest_cast<long>(-x));
     CPPUNIT_ASSERT_EQUAL(-1l, round_to_nearest_cast<long>(-y));
  }