[Feature][T8TSK-250][ADBD]add adb debug patch
Only Configure: No
Affected branch: GSW3.0-No-Connman
Affected module: adbd
Is it addected on both ZXIC and MTK: only MTK
Self-test: Yes
Doc Update: No
Change-Id: Id158d099ac8b9661a4fa1b51e731be951da56ed8
diff --git a/src/devtools/adb/sha.c b/src/devtools/adb/sha.c
index 5bef32e..a637f24 100644
--- a/src/devtools/adb/sha.c
+++ b/src/devtools/adb/sha.c
@@ -105,7 +105,7 @@
void SHA_update(SHA_CTX* ctx, const void* data, int len) {
- int i = (int) (ctx->count & 63);
+ unsigned int i = (unsigned int) (ctx->count & 63);
const uint8_t* p = (const uint8_t*)data;
ctx->count += len;