svn commit: branches/busybox_1_11_stable/console-tools
aldot at busybox.net
aldot at busybox.net
Fri Sep 5 15:30:24 UTC 2008
Author: aldot
Date: 2008-09-05 08:30:24 -0700 (Fri, 05 Sep 2008)
New Revision: 23332
Log:
- sync with trunk
Modified:
branches/busybox_1_11_stable/console-tools/kbd_mode.c
Changeset:
Modified: branches/busybox_1_11_stable/console-tools/kbd_mode.c
===================================================================
--- branches/busybox_1_11_stable/console-tools/kbd_mode.c 2008-09-05 15:23:53 UTC (rev 23331)
+++ branches/busybox_1_11_stable/console-tools/kbd_mode.c 2008-09-05 15:30:24 UTC (rev 23332)
@@ -46,7 +46,7 @@
printf("The keyboard is in %s mode\n", mode);
} else {
opt = opt & UNICODE ? 3 : opt >> 1;
- xioctl(fd, KDSKBMODE, opt);
+ xioctl(fd, KDSKBMODE, (void*)(ptrdiff_t)opt);
}
if (ENABLE_FEATURE_CLEAN_UP)
More information about the busybox-cvs
mailing list