diff options
author | 2008-03-03 01:23:49 +0000 | |
---|---|---|
committer | 2008-03-03 14:53:16 -0800 | |
commit | 5ce2087ed0eb424e0889bdc9102727f65d2ecdde (patch) | |
tree | 8a20c8e22a0a387a4c594e61004ab86c5456f8b8 /drivers/s390/char/defkeymap.c | |
parent | Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm (diff) | |
download | linux-5ce2087ed0eb424e0889bdc9102727f65d2ecdde.tar.gz linux-5ce2087ed0eb424e0889bdc9102727f65d2ecdde.tar.bz2 linux-5ce2087ed0eb424e0889bdc9102727f65d2ecdde.zip |
Fix default compose table initialization
Oddly enough, unsigned int c = '\300'; puts a "negative" value in c, not
0300... This fixes the default unicode compose table by using integers
instead of character constants.
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/s390/char/defkeymap.c')
-rw-r--r-- | drivers/s390/char/defkeymap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/char/defkeymap.c b/drivers/s390/char/defkeymap.c index 389346cda6c8..9692d6a205ef 100644 --- a/drivers/s390/char/defkeymap.c +++ b/drivers/s390/char/defkeymap.c @@ -151,8 +151,8 @@ char *func_table[MAX_NR_FUNC] = { }; struct kbdiacruc accent_table[MAX_DIACR] = { - {'^', 'c', '\003'}, {'^', 'd', '\004'}, - {'^', 'z', '\032'}, {'^', '\012', '\000'}, + {'^', 'c', 0003}, {'^', 'd', 0004}, + {'^', 'z', 0032}, {'^', 0012', 0000}, }; unsigned int accent_table_size = 4; |