Explicitly note number as unsigned to shut gcc up
authorKen Raeburn <raeburn@mit.edu>
Mon, 2 Jun 2008 23:45:35 +0000 (23:45 +0000)
committerKen Raeburn <raeburn@mit.edu>
Mon, 2 Jun 2008 23:45:35 +0000 (23:45 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20353 dc483132-0cff-0310-8789-dd5450dbe970

src/tests/asn.1/krb5_decode_test.c

index 0ff934354f2519162cfb150c3e8a2918a6f22dd9..bd4250865492e7312c8b905ab8f627628ae11103 100644 (file)
@@ -313,7 +313,7 @@ int main(argc, argv)
     decode_run("encryption_key","(enctype = -255)","30 12 A0 04 02 02 FF 01 A1 0A 04 08 31 32 33 34 35 36 37 38",decode_krb5_encryption_key,ktest_equal_encryption_key,krb5_free_keyblock);
     ref.enctype = 255;
     decode_run("encryption_key","(enctype = 255)","30 12 A0 04 02 02 00 FF A1 0A 04 08 31 32 33 34 35 36 37 38",decode_krb5_encryption_key,ktest_equal_encryption_key,krb5_free_keyblock);
-    ref.enctype = -2147483648;
+    ref.enctype = -2147483648U;
     decode_run("encryption_key","(enctype = -2147483648)","30 14 A0 06 02 04 80 00 00 00 A1 0A 04 08 31 32 33 34 35 36 37 38",decode_krb5_encryption_key,ktest_equal_encryption_key,krb5_free_keyblock);
     ref.enctype = 2147483647;
     decode_run("encryption_key","(enctype = 2147483647)","30 14 A0 06 02 04 7F FF FF FF A1 0A 04 08 31 32 33 34 35 36 37 38",decode_krb5_encryption_key,ktest_equal_encryption_key,krb5_free_keyblock);