1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-01 10:22:48 +02:00

change stage_addr to unsigned

This commit is contained in:
Xiangfu Liu 2010-01-08 13:21:11 +08:00
parent 1022f9e3fc
commit fac0746ad2

View File

@ -305,7 +305,7 @@ int usb_ingenic_upload(struct ingenic_dev *ingenic_dev, int stage)
stage2_addr = total_size + 0x80000000;
stage2_addr -= CODE_SIZE;
int stage_addr = (stage == 1 ? 0x80002000 : stage2_addr);
unsigned int stage_addr = (stage == 1 ? 0x80002000 : stage2_addr);
int rqst = VR_PROGRAM_START1;
usb_send_data_address_to_ingenic(ingenic_dev, stage_addr);