Patch for crypt_util.c

Nick Burrett nick at dsvr.net
Sun Dec 21 04:25:06 PST 2003


Stefan Bellon wrote:
> Hi!
> 
> The latest version of Norcroft C requires the following patch in order
> to compile successfully.

Thanks. I've committed this.

> *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)
>   */
> 






More information about the gcc mailing list