summaryrefslogtreecommitdiff
path: root/board/lwmon
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-09-08 22:03:11 +0000
committerwdenk <wdenk>2004-09-08 22:03:11 +0000
commiteedcd078fe1434d93b84322c4e14c52f80282a41 (patch)
tree0dd7b16045dd41fbda926f929f1d7cf8edbd2ae0 /board/lwmon
parent7ca202f566a6e9dc3d0dd0216e82ad1a48f50f19 (diff)
downloadu-boot-imx-eedcd078fe1434d93b84322c4e14c52f80282a41.zip
u-boot-imx-eedcd078fe1434d93b84322c4e14c52f80282a41.tar.gz
u-boot-imx-eedcd078fe1434d93b84322c4e14c52f80282a41.tar.bz2
* Patch by Detlev Zundel, 08 Sep 2004:
Update etags build target * Improve NetConsole support: add support for broadcast destination address and buffered input. * Cleanup compiler warnings for GCC 3.3.x and later * Fix problem in cmd_jffs2.c introduced by CFG_JFFS_SINGLE_PART patch
Diffstat (limited to 'board/lwmon')
-rw-r--r--board/lwmon/lwmon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/lwmon/lwmon.c b/board/lwmon/lwmon.c
index 904e7ea..5b2b41a 100644
--- a/board/lwmon/lwmon.c
+++ b/board/lwmon/lwmon.c
@@ -643,7 +643,7 @@ static uchar kbd_command_prefix[] = "key_cmd";
static int compare_magic (uchar *kbd_data, uchar *str)
{
uchar compare[KEYBD_DATALEN-1];
- uchar *nxt;
+ char *nxt;
int i;
/* Don't include modifier byte */
@@ -655,7 +655,7 @@ static int compare_magic (uchar *kbd_data, uchar *str)
c = (uchar) simple_strtoul (str, (char **) (&nxt), 16);
- if (str == nxt) { /* invalid character */
+ if (str == (uchar *)nxt) { /* invalid character */
break;
}