Fixed an issue with the 32 bit YTIME_T test.
[yaffs2.git] / direct / test-framework / unit_tests / 64_and_32_bit_time / 32_bit / time_32_tests.c
index 8d10d27ca7e7455938deb08b9807a16d2bd7b955..9c99242074dc280b55f1bc0cdea130c0cd866e91 100644 (file)
@@ -10,10 +10,10 @@ int main()
 {
        yaffs_start_up();
 
-    //test that ytime is 64 bits
+    //test that ytime is 32 bits
 
-    if (sizeof(YTIME_T) != 8) {
-        printf("Error:size of YTIME_T is not 64 bits\n");
+    if (sizeof(YTIME_T) != 4) {
+        printf("Error:size of YTIME_T is %lu, not 32 bits \n", sizeof(YTIME_T)*8);
         return 1;
     }