Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a9dfe2b1 authored by Pradeep P V K's avatar Pradeep P V K
Browse files

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: default avatarPradeep P V K <ppvk@codeaurora.org>
parent 0abd32ff
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;