mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
mtd: devices: Fix for qcs405 64bit compilation issue.
Chage the type of len variable from uint32_t to size_t to resolve [-Werror,-Wincompatible-pointer-types] errors during 64bit compilation. Change-Id: I5dfc6fb145fc96f9eef8ed9ec2e84ad3081ecb61 Signed-off-by: Pradeep P V K <ppvk@codeaurora.org>
This commit is contained in:
parent
0abd32ff5c
commit
a9dfe2b173
@ -3270,7 +3270,7 @@ static int msm_nand_parse_smem_ptable(int *nr_parts)
|
||||
{
|
||||
|
||||
uint32_t i, j;
|
||||
uint32_t len = FLASH_PTABLE_HDR_LEN;
|
||||
size_t len = FLASH_PTABLE_HDR_LEN;
|
||||
struct flash_partition_entry *pentry;
|
||||
char *delimiter = ":";
|
||||
void *temp_ptable = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user