Merge pull request #42 from nullr0ute/gcc9-fixes

Use signed char for variable
This commit is contained in:
Open Source Software for Rockchip SoCs(moved to https://github.com/rockchip-linux/) 2019-07-01 08:22:12 +08:00 committed by GitHub
commit 6e92ebcf8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1882,7 +1882,7 @@ bool upgrade_loader(STRUCT_RKDEVICE_DESC &dev, char *szLoader)
CRKComm *pComm = NULL;
bool bRet, bSuccess = false;
int iRet;
char index;
signed char index;
USHORT usFlashDataSec, usFlashBootSec;
DWORD dwLoaderSize, dwLoaderDataSize, dwDelay, dwSectorNum;
char loaderCodeName[] = "FlashBoot";