Skip to content
Snippets Groups Projects
Commit 34cc30af authored by Siva Durga Prasad Paladugu's avatar Siva Durga Prasad Paladugu Committed by Heiko Schocher
Browse files

fs: usbifs: Fix warning in ubifs


This patch fixes the below warning by typecasting it properly
fs/ubifs/ubifs.c: In function 'ubifs_load':
fs/ubifs/ubifs.c:942:29: warning: cast to pointer from integer
of different size [-Wint-to-pointer-cast]
  err = ubifs_read(filename, (void *)addr, 0, size, &actread);

Signed-off-by: default avatarSiva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
Reviewed-by: default avatarHeiko Schocher <hs@denx.de>
parent ad701b1c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment