Patch for crypt_util.c

Stefan Bellon sbellon at sbellon.de
Sat Dec 20 07:36:44 PST 2003


Hi!

The latest version of Norcroft C requires the following patch in order
to compile successfully.

*cvs diff source/crypt/crypt_util.c
Index: source/crypt/crypt_util.c
===================================================================
RCS file: /usr/local/cvsroot/gccsdk/unixlib/source/crypt/crypt_util.c,v
retrieving revision 1.3
diff -u -r1.3 crypt_util.c
--- source/crypt/crypt_util.c   28 Apr 2003 21:04:35 -0000      1.3
+++ source/crypt/crypt_util.c   20 Dec 2003 15:35:15 -0000
@@ -920,7 +920,7 @@
       c = c << 1 | *__key++;
     ktab[i] = c >> 1;
   }
-  _ufc_mk_keytab_r(ktab, __data);
+  _ufc_mk_keytab_r((const char*)ktab, __data);
 }
 /* weak_alias (__setkey_r, setkey_r)
  */

-- 
Stefan Bellon




More information about the gcc mailing list