[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: test failures: crc, md4, gc-md4
From: |
Simon Josefsson |
Subject: |
Re: test failures: crc, md4, gc-md4 |
Date: |
Thu, 11 May 2006 09:34:04 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) |
Simon Josefsson <address@hidden> writes:
>> -#define rol(x,n) ( ((x) << (n)) | ((x) >> (32-(n))) )
>> +#define rol(x, n) (((x) << (n)) | ((uint32_t) (x) >> (32 - (n))))
> ...
>> -#define rol(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
>> +#define rol(x, n) (((x) << (n)) | ((uint32_t) (x) >> (32 - (n))))
>
> I don't understand this. Why would a left-shifted uint32_t become any
> other type?
Oops, I didn't read your ChangeLog entry.... I've installed all of
your patch now.
Thanks,
Simon