]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Fix minor type issues in krad tests
authorGreg Hudson <ghudson@mit.edu>
Sun, 14 Jul 2013 23:28:08 +0000 (19:28 -0400)
committerGreg Hudson <ghudson@mit.edu>
Sun, 14 Jul 2013 23:28:08 +0000 (19:28 -0400)
Use unsigned char for test encodings, since the initializers use
values greater than 127.

src/lib/krad/t_attr.c
src/lib/krad/t_attrset.c

index e80d77b23ba2b2679a5511c360374a8b462db957..eb2a780c89a7431423a0b54941daa278cef7dc84 100644 (file)
@@ -29,7 +29,7 @@
 
 #include "t_test.h"
 
-const static char encoded[] = {
+const static unsigned char encoded[] = {
     0xba, 0xfc, 0xed, 0x50, 0xe1, 0xeb, 0xa6, 0xc3,
     0xc1, 0x75, 0x20, 0xe9, 0x10, 0xce, 0xc2, 0xcb
 };
index afae5e4f0fee59061c761046db4656c522c73f55..7928335ca40057b7c765a6af57eee160798b298c 100644 (file)
@@ -34,7 +34,7 @@ const static unsigned char auth[] = {
     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
 };
 
-const static char encpass[] = {
+const static unsigned char encpass[] = {
     0x58, 0x8d, 0xff, 0xda, 0x37, 0xf9, 0xe4, 0xca,
     0x19, 0xae, 0x49, 0xb7, 0x16, 0x6d, 0x58, 0x27
 };