Re: Re: snakebyte's thread Saturday, 27-Feb-99 05:44:42 Snakebyte_, You don't quite say what it is doing. But buff is a char and a is an int... Are you compiling for DOS or Win32 console ? OK. Suppose it is DOS, a needs to be a 32 bit number so use something like... unsigned long a; a= (((unsigned long)buff[i])<<1)+(((unsigned long)buff[i])>>31); This should work.. Cronos Cronos |
snakebyte's thread (snakebyte__@hotmail.com) (20-Feb-99 09:08:43) |