Fixed signed/unsigned -Wall flame
authorTheodore Tso <tytso@mit.edu>
Sun, 15 Oct 1995 14:53:39 +0000 (14:53 +0000)
committerTheodore Tso <tytso@mit.edu>
Sun, 15 Oct 1995 14:53:39 +0000 (14:53 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6968 dc483132-0cff-0310-8789-dd5450dbe970

src/tests/asn.1/ChangeLog
src/tests/asn.1/ktest.c

index 05e6cacd062166048a2e5e44ddeff24019bca9d5..62f4e6151c93bd25acfab33f5fc8d2249ba3a1cb 100644 (file)
@@ -1,3 +1,9 @@
+Sun Oct 15 10:51:22 1995    <tytso@rsts-11.mit.edu>
+
+       * ktest.c (ktest_make_sample_alt_method,
+               ktest_make_sample_etype_info):  Fixed signed/unsinged
+               -Wall flame.
+
 Fri Sep 29 14:23:47 1995  Theodore Y. Ts'o  <tytso@dcl>
 
        * Makefile.in (clean): Remove trval on a make clean
index 146625bba20fbbc4effe3d19fb8c7d532902057a..666d0d35a3e9582d6ad7e37e1f5b3433ca112d1e 100644 (file)
@@ -640,7 +640,7 @@ krb5_error_code ktest_make_sample_alt_method(p)
      krb5_alt_method * p;
 {
     p->method = 42;
-    p->data = "secret";
+    p->data = (krb5_octet *) "secret";
     p->length = strlen(p->data);
     return 0;
 }
@@ -649,7 +649,7 @@ krb5_error_code ktest_make_sample_etype_info_entry(p)
      krb5_etype_info_entry * p;
 {
     p->etype = 1;
-    p->salt = "Morton";
+    p->salt = (krb5_octet *) "Morton";
     p->length = strlen(p->salt);
     return 0;
 }