summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorfredo <fredo@srv-devhard.ad.til-technologies.net>2008-12-08 11:08:36 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2008-12-18 14:20:08 +0100
commitc3dbf6e1d677a3a36cf69e996bc3d6e42891d3dc (patch)
treed99c8b02f9067ef23a5d02a5bc3e2747ec9240ac /commands
parent954f52d605f21fa95b0cefdae70b2966d05b0d0f (diff)
downloadbarebox-c3dbf6e1d677a3a36cf69e996bc3d6e42891d3dc.tar.gz
barebox-c3dbf6e1d677a3a36cf69e996bc3d6e42891d3dc.tar.xz
remove warning
Signed-off-by: Frederic RODO <fred.rodo@gmail.com>
Diffstat (limited to 'commands')
-rwxr-xr-xcommands/partition.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/partition.c b/commands/partition.c
index 399cb62005..9303987f2a 100755
--- a/commands/partition.c
+++ b/commands/partition.c
@@ -134,7 +134,7 @@ static int mtd_part_do_parse_one(struct partition *part, const char *partstr,
if (*partstr == '(') {
partstr++;
- end = strchr(partstr, ')');
+ end = strchr((char *) partstr, ')');
if (!end) {
printf("could not find matching ')'\n");
return -EINVAL;