22 lines
489 B
Diff
22 lines
489 B
Diff
|
--- kbd-1.12/src/psffontop.c.alias 2005-03-12 00:47:45.296118344 +0100
|
||
|
+++ kbd-1.12/src/psffontop.c 2005-03-12 00:48:30.075310872 +0100
|
||
|
@@ -59,7 +59,6 @@
|
||
|
|
||
|
static unsigned int
|
||
|
assemble_ucs2(char **inptr, int cnt) {
|
||
|
- unsigned char **in = (unsigned char **) inptr;
|
||
|
unsigned int u1, u2;
|
||
|
|
||
|
if (cnt < 2) {
|
||
|
@@ -68,8 +67,8 @@
|
||
|
exit(EX_DATAERR);
|
||
|
}
|
||
|
|
||
|
- u1 = *(*in)++;
|
||
|
- u2 = *(*in)++;
|
||
|
+ u1 = (unsigned char)*(*inptr)++;
|
||
|
+ u2 = (unsigned char)*(*inptr)++;
|
||
|
return (u1 | (u2 << 8));
|
||
|
}
|
||
|
|