]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
* k5-platform.h (store_16_be, store_16_le): Use unsigned int arg, not unsigned
authorKen Raeburn <raeburn@mit.edu>
Sat, 11 Oct 2003 00:00:26 +0000 (00:00 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sat, 11 Oct 2003 00:00:26 +0000 (00:00 +0000)
short.

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/raeburn-gssapi-cfx@15836 dc483132-0cff-0310-8789-dd5450dbe970

src/include/ChangeLog
src/include/k5-platform.h

index 9a0f63420b59eef2736a2762a0245083ad7e81b5..e309dc9591595b29f5f26d29d21e219c7c387ea4 100644 (file)
@@ -2,6 +2,9 @@
 
        * k5-int.h (struct krb5_keytypes): Added field required_ctype.
 
+       * k5-platform.h (store_16_be, store_16_le): Use unsigned int arg,
+       not unsigned short.
+
 2003-09-25  Ken Raeburn  <raeburn@mit.edu>
 
        * k5-platform.h: New header file.  Manages inline-function and
index b5bccb63117c42595514d6af7792b292c2dedacc..2d95749e249d177de1ed7f6a6987b8630e4144b1 100644 (file)
    etc.)  */
 
 static inline void
-store_16_be (unsigned short val, unsigned char *p)
+store_16_be (unsigned int val, unsigned char *p)
 {
     p[0] = (val >>  8) & 0xff;
     p[1] = (val      ) & 0xff;
 }
 static inline void
-store_16_le (unsigned short val, unsigned char *p)
+store_16_le (unsigned int val, unsigned char *p)
 {
     p[1] = (val >>  8) & 0xff;
     p[0] = (val      ) & 0xff;