You're shifting over too much.
Cameron Esfahani
[email protected]
> On Sep 14, 2014, at 23:45, sushma s <[email protected]> wrote:
>
> char hex[5];
> int i;
> unsigned int src= 0x43313031;
>
> for(i = 0; i<4;i++)
> {
> hex[i] = src>>(64-(i+1)*8);
> }
> hex[i] = '\0';
>
> The same code when compiled in gcc compiler gives output, C101.
> The same code when used in my driver, gives blank output.
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel