mirror of
https://github.com/sharkcz/rkdeveloptool.git
synced 2024-11-22 14:06:47 +01:00
Merge pull request #42 from nullr0ute/gcc9-fixes
Use signed char for variable
This commit is contained in:
commit
6e92ebcf8b
2
main.cpp
2
main.cpp
@ -1882,7 +1882,7 @@ bool upgrade_loader(STRUCT_RKDEVICE_DESC &dev, char *szLoader)
|
|||||||
CRKComm *pComm = NULL;
|
CRKComm *pComm = NULL;
|
||||||
bool bRet, bSuccess = false;
|
bool bRet, bSuccess = false;
|
||||||
int iRet;
|
int iRet;
|
||||||
char index;
|
signed char index;
|
||||||
USHORT usFlashDataSec, usFlashBootSec;
|
USHORT usFlashDataSec, usFlashBootSec;
|
||||||
DWORD dwLoaderSize, dwLoaderDataSize, dwDelay, dwSectorNum;
|
DWORD dwLoaderSize, dwLoaderDataSize, dwDelay, dwSectorNum;
|
||||||
char loaderCodeName[] = "FlashBoot";
|
char loaderCodeName[] = "FlashBoot";
|
||||||
|
Loading…
Reference in New Issue
Block a user