From 2a3681258a507602160a4e4e099c1d22129791f2 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Sun, 15 Oct 1995 14:53:39 +0000 Subject: [PATCH] Fixed signed/unsigned -Wall flame git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6968 dc483132-0cff-0310-8789-dd5450dbe970 --- src/tests/asn.1/ChangeLog | 6 ++++++ src/tests/asn.1/ktest.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/tests/asn.1/ChangeLog b/src/tests/asn.1/ChangeLog index 05e6cacd0..62f4e6151 100644 --- a/src/tests/asn.1/ChangeLog +++ b/src/tests/asn.1/ChangeLog @@ -1,3 +1,9 @@ +Sun Oct 15 10:51:22 1995 + + * 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 * Makefile.in (clean): Remove trval on a make clean diff --git a/src/tests/asn.1/ktest.c b/src/tests/asn.1/ktest.c index 146625bba..666d0d35a 100644 --- a/src/tests/asn.1/ktest.c +++ b/src/tests/asn.1/ktest.c @@ -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; } -- 2.26.2