summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1995-03-10 20:47:39 +0000
committerTheodore Tso <tytso@mit.edu>1995-03-10 20:47:39 +0000
commitefdab17441bac2636cb4898eb8810cebee66620e (patch)
tree970cc2fc8f1359bc3fd128d154479f2ca58c7775
parent42ab4b92e25e731ab2775ea1b3c275273a8bc677 (diff)
downloadkrb5-efdab17441bac2636cb4898eb8810cebee66620e.tar.gz
krb5-efdab17441bac2636cb4898eb8810cebee66620e.tar.xz
krb5-efdab17441bac2636cb4898eb8810cebee66620e.zip
Make the second argument of asn1buf_insert_octet be an int, instead of
asn1_octet. ANSI C narrow types screws us again.... (The RS/6000 compiler blew out until this was fixed....) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5107 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r--src/lib/krb5/asn.1/ChangeLog6
-rw-r--r--src/lib/krb5/asn.1/asn1buf.c2
-rw-r--r--src/lib/krb5/asn.1/asn1buf.h2
3 files changed, 8 insertions, 2 deletions
diff --git a/src/lib/krb5/asn.1/ChangeLog b/src/lib/krb5/asn.1/ChangeLog
index 6f2574c6c..33f07a9c5 100644
--- a/src/lib/krb5/asn.1/ChangeLog
+++ b/src/lib/krb5/asn.1/ChangeLog
@@ -1,3 +1,9 @@
+Fri Mar 10 15:39:24 1995 Theodore Y. Ts'o (tytso@kenmore)
+
+ * asn1buf.c. asn1buf.h (asn1buf_insert_octet): Make the second
+ argument of asn1buf_insert_octet be an int, instead of
+ asn1_octet. ANSI C narrow types screws us again....
+
Tue Mar 7 21:40:18 1995 Keith Vetter (keithv@fusion.com)
* Makefile.in: changed library name for the PC.
diff --git a/src/lib/krb5/asn.1/asn1buf.c b/src/lib/krb5/asn.1/asn1buf.c
index d831d785e..98aa65f85 100644
--- a/src/lib/krb5/asn.1/asn1buf.c
+++ b/src/lib/krb5/asn.1/asn1buf.c
@@ -103,7 +103,7 @@ asn1_error_code INTERFACE asn1buf_destroy(buf)
asn1_error_code INTERFACE asn1buf_insert_octet(buf, o)
asn1buf * buf;
- const asn1_octet o;
+ const int o;
{
asn1_error_code retval;
diff --git a/src/lib/krb5/asn.1/asn1buf.h b/src/lib/krb5/asn.1/asn1buf.h
index cd4021210..067bbf609 100644
--- a/src/lib/krb5/asn.1/asn1buf.h
+++ b/src/lib/krb5/asn.1/asn1buf.h
@@ -78,7 +78,7 @@ asn1_error_code INTERFACE asn1buf_destroy
/* effects Deallocates **buf, sets *buf to NULL. */
asn1_error_code INTERFACE asn1buf_insert_octet
- PROTOTYPE((asn1buf *buf, const asn1_octet o));
+ PROTOTYPE((asn1buf *buf, const int o));
/* requires *buf is allocated
effects Inserts o into the buffer *buf, expanding the buffer if
necessary. Returns ENOMEM memory is exhausted. */