+Tue Mar 7 19:57:28 1995 Keith Vetter (keithv@fusion.com)
+
+ * pcbc_enc.c: added casts on the long->char assignments.
+ * str_to_key.c: converted int->long to match types.
+ * read_passwd.c: converted int->long.
+
Wed Mar 8 17:13:44 1995 Theodore Y. Ts'o <tytso@dcl>
* Makefile.in (clean): Dete verify.o on a "make clean".
op += (int) length;
switch(length) {
case 8:
- *(--op) = right & 0xff;
+ *(--op) = (unsigned char) (right & 0xff);
case 7:
- *(--op) = (right >> 8) & 0xff;
+ *(--op) = (unsigned char) ((right >> 8) & 0xff);
case 6:
- *(--op) = (right >> 16) & 0xff;
+ *(--op) = (unsigned char) ((right >> 16) & 0xff);
case 5:
- *(--op) = (right >> 24) & 0xff;
+ *(--op) = (unsigned char) ((right >> 24) & 0xff);
case 4:
- *(--op) = left & 0xff;
+ *(--op) = (unsigned char) (left & 0xff);
case 3:
- *(--op) = (left >> 8) & 0xff;
+ *(--op) = (unsigned char) ((left >> 8) & 0xff);
case 2:
- *(--op) = (left >> 16) & 0xff;
+ *(--op) = (unsigned char) ((left >> 16) & 0xff);
case 1:
- *(--op) = (left >> 24) & 0xff;
+ *(--op) = (unsigned char) ((left >> 24) & 0xff);
break;
}
break; /* we're done */
register mit_des_cblock *key;
{
register char *in_str;
- register unsigned temp,i;
+ register unsigned temp;
register int j;
- register long length;
+ register long i, length;
static unsigned char *k_p;
static int forward;
register char *p_char;