[Dev-luatex] zap some compiler warnings

Taco Hoekwater taco at elvenkind.com
Sun Jul 1 08:55:40 CEST 2007


Hi Martin,

Thanks. This is only the tip of the iceberg. Have you tried to compile 
luafontforge yet? :-).

Taco

Martin Schröder wrote:
> Index: font/luafont.c
> ===================================================================
> --- font/luafont.c      (Revision 534)
> +++ font/luafont.c      (Arbeitskopie)
> @@ -312,7 +312,7 @@
>  static int
>  count_char_packet_bytes  (lua_State *L) {
>    int i, l, ff;
> -  unsigned int len;
> +  size_t len;
>    char *s;
>    ff = 0;
>    l = 0;
> @@ -354,7 +354,7 @@
>  static void
>  read_char_packets  (lua_State *L, integer *l_fonts, charinfo *co) {
>    int i, n, m;
> -  unsigned l;
> +  size_t l;
>    int cmd;
>    char *s;
>    real_eight_bits *cpackets;
> _______________________________________________
> dev-luatex mailing list
> dev-luatex at ntg.nl
> http://www.ntg.nl/mailman/listinfo/dev-luatex




More information about the dev-luatex mailing list