lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lynx-dev [PATCH] dev.15 problem compiling for EBCDIC


From: pg
Subject: lynx-dev [PATCH] dev.15 problem compiling for EBCDIC
Date: Wed, 17 Nov 1999 23:36:26 -0700 (MST)

I get:

c89  -DHAVE_CONFIG_H  -DLOCALEDIR=\"/pub/unsup/test/share/locale\" -I. -I.. 
-Ichrtrans -I../../lynx2-8-3/src/chrtrans -I../../lynx2-8-3 
-I../../lynx2-8-3/src -I../../lynx2-8-3/WWW/Library/Implementation   
-D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE  -c ../../lynx2-8-3/src/LYEditmap.c
ERROR CBC3068 ./../../lynx2-8-3/src/LYEditmap.c:1181  Operation between types 
"int*" and "unsigned char" is not allowed.
ERROR CBC3068 ./../../lynx2-8-3/src/LYEditmap.c:1220  Operation between types 
"int*" and "unsigned char" is not allowed.
FSUM3065 The COMPILE step ended with return code 12.
FSUM3017 Could not compile ../../lynx2-8-3/src/LYEditmap.c. Correct the errors 
and try again.

Fixed by patch below.

Thanks,
gil
-- 
StorageTek
INFORMATION made POWERFUL
=======================================================================
%%% Created Wed Nov 17 23:31:01 MST 1999 by target lynx.patch. %%%
diff -bru orig/lynx2-8-3/src/LYEditmap.c lynx2-8-3/src/LYEditmap.c
--- orig/lynx2-8-3/src/LYEditmap.c      Wed Nov 17 21:08:08 1999
+++ lynx2-8-3/src/LYEditmap.c   Wed Nov 17 23:23:38 1999
@@ -1178,7 +1178,7 @@
        if (pmodkey) {
 #ifdef NOT_ASCII
            if (mod1found < 256) {
-               pmodkey = FROMASCII(mod1found);
+               *pmodkey = FROMASCII(mod1found);
            } else
 #endif
                *pmodkey = mod1found;
@@ -1217,7 +1217,7 @@
        if (pmodkey) {
 #ifdef NOT_ASCII
            if (mod1found < 256) {
-               pmodkey = FROMASCII(mod1found);
+               *pmodkey = FROMASCII(mod1found);
            } else
 #endif
                *pmodkey = mod1found;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]