commit | 77ddac9480d63a80b6bb76d7ee4dcc2d1070867e | [log] [tgz] |
---|---|---|
author | Wolfgang Denk <wd@pollux.denx.de> | Thu Oct 13 16:45:02 2005 +0200 |
committer | Wolfgang Denk <wd@pollux.denx.de> | Thu Oct 13 16:45:02 2005 +0200 |
tree | e9563b2f28ea59062b90bb5712f141e8e9798aee | |
parent | 17a8b276ba2b3499b75cd60b0b5289dbbea7967b [diff] [blame] |
Cleanup for GCC-4.x
diff --git a/common/cmd_ext2.c b/common/cmd_ext2.c index af836cd..927e22f 100644 --- a/common/cmd_ext2.c +++ b/common/cmd_ext2.c
@@ -231,7 +231,7 @@ return(1); } - if (strncmp(info.type, BOOT_PART_TYPE, sizeof(info.type)) != 0) { + if (strncmp((char *)info.type, BOOT_PART_TYPE, sizeof(info.type)) != 0) { printf ("\n** Invalid partition type \"%.32s\"" " (expect \"" BOOT_PART_TYPE "\")\n", info.type);