Dandan,
Thanks for fixing this.
But, why not write code as below?
EFI_LBA DescriptorLBAs[4];
DescriptorLBA[0] = 256;
DescriptorLBA[1] = EndLBA - 256;
...
Thanks/Ray
> -Original Message-
> From: Bi, Dandan
> Sent: Monday, September 11, 2017 1:45 PM
> To: edk2-devel@lists.01.org
>
Remove the DescriptorLBAs[] array with non-constant expression to fix
non-constant aggregate initializer warning in VS tool chains.
Cc: Eric Dong
Cc: Paulo Alcantara
Cc: Ruiyu Ni
Cc: Star Zeng
Contributed-under:
2 matches
Mail list logo