[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patches for t2gload (yet again)
From: |
Tom Kacvinsky |
Subject: |
Re: Patches for t2gload (yet again) |
Date: |
Fri, 7 Jul 2000 12:55:31 -0400 (EDT) |
>
> I suggest a cast as follows:
>
> m = ((unsigned char)k - 247) * 256 + ....
>
> which does work. Another option (not likely, though), is to make all
> byte streams unsigned chars instead of signed chars...
>
Simpler still:
/********************************************************************/
/* */
/* Decode operator or operand */
/* */
- v = *ip++;
+ v = (unsigned char)*ip++;
if ( v >= 32 || v == 28 )