CrackMe® Practices for Newbies
PROJECT 6: caveman by Ghiribizzo

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


Message thread:

snakebyte's thread (snakebyte__@hotmail.com) (20-Feb-99 09:08:43)

Back to main board