]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: part: Add a cast to avoid a compiler warning
authorSimon Glass <sjg@chromium.org>
Mon, 29 Feb 2016 22:25:45 +0000 (15:25 -0700)
committerSimon Glass <sjg@chromium.org>
Mon, 14 Mar 2016 21:34:50 +0000 (15:34 -0600)
commit95a6f9dfcbeb612564a014ccb135ae4e1e4fc942
treeb7900d7d2d5bca5c09cbe73d8192a440332af63f
parente35929e4a1ffe861f2f45e107986568c56c4f077
dm: part: Add a cast to avoid a compiler warning

In part_amiga.c the name is unsigned but bcpl_strcpy() requires a signed
pointer. Add a cast to fix the warning.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
disk/part_amiga.c