On 18 December 2015 at 10:45, Zeng, Star wrote:
> On 2015/12/17 23:47, Ard Biesheuvel wrote:
>>
>> On 17 December 2015 at 15:10, Zeng, Star wrote:
>>>
>>> On 2015/12/17 18:01, Ard Biesheuvel wrote:
C99 does not define left-shifting
C99 does not define left-shifting negative values, so make all
[positive] preprocessor constants unsigned explicitly, so they
do not become negative values after bitwise negation.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel
---
On 2015/12/17 18:01, Ard Biesheuvel wrote:
C99 does not define left-shifting negative values, so make all
[positive] preprocessor constants unsigned explicitly, so they
do not become negative values after bitwise negation.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by:
On 17 December 2015 at 15:10, Zeng, Star wrote:
> On 2015/12/17 18:01, Ard Biesheuvel wrote:
>>
>> C99 does not define left-shifting negative values, so make all
>> [positive] preprocessor constants unsigned explicitly, so they
>> do not become negative values after bitwise
4 matches
Mail list logo