unit-tests: Silence a literal signedness warning raised by GCC 4.6.3
authorMartin Willi <martin@revosec.ch>
Thu, 13 Feb 2014 10:41:16 +0000 (11:41 +0100)
committerMartin Willi <martin@revosec.ch>
Wed, 30 Apr 2014 15:22:48 +0000 (17:22 +0200)
src/libstrongswan/tests/suites/test_asn1.c

index d0cd7e6..ac7c551 100644 (file)
@@ -335,8 +335,8 @@ START_TEST(test_asn1_length)
 
        /* largest chunk on 32 bit system */
        a = chunk_from_chars(0x04, 0x84, 0xff, 0xff, 0xff, 0xf9, 0xaa);
-       a.len = 4294967295;
-       ck_assert(asn1_length(&a) == 4294967289);
+       a.len = 4294967295U;
+       ck_assert(asn1_length(&a) == 4294967289U);
 
 }
 END_TEST