mirror of
https://github.com/sharkcz/rkdeveloptool.git
synced 2024-11-22 14:06:47 +01:00
Use signed char for variable
Architectures other than x86 don't by default treat char as signed so be explicit so the build doesn't fail when building on other arches such as Arm. Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
This commit is contained in:
parent
c49bf47e08
commit
aca206f7e9
2
main.cpp
2
main.cpp
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user