diff options
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/writet1.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/ChangeLog b/Build/source/texk/web2c/pdftexdir/ChangeLog index 3151c53a9c6..f19611f3603 100644 --- a/Build/source/texk/web2c/pdftexdir/ChangeLog +++ b/Build/source/texk/web2c/pdftexdir/ChangeLog @@ -1,3 +1,7 @@ +2010-02-14 Peter Breitenlohner <peb@mppmu.mpg.de> + + * writet1.c (append_cs_return): Cast to byte * to avoid warning. + 2010-02-01 Peter Breitenlohner <peb@mppmu.mpg.de> * am/libpdftex.am (libpdftex_a_OBJECTS): Add dependency on diff --git a/Build/source/texk/web2c/pdftexdir/writet1.c b/Build/source/texk/web2c/pdftexdir/writet1.c index 76f4ea51f9e..65aacc05460 100644 --- a/Build/source/texk/web2c/pdftexdir/writet1.c +++ b/Build/source/texk/web2c/pdftexdir/writet1.c @@ -1127,7 +1127,7 @@ static void append_cs_return(cs_entry *ptr) assert(ptr != NULL && ptr->valid && ptr->used); /* decrypt the cs data to t1_buf_array, append CS_RETURN */ - p = t1_buf_array; + p = (byte *) t1_buf_array; data = ptr->data + 4; cr = 4330; for (i = 0; i < ptr->cslen; i++) @@ -1138,7 +1138,7 @@ static void append_cs_return(cs_entry *ptr) new_data = xtalloc(ptr->len + 1, byte); memcpy(new_data, ptr->data, 4); p = new_data + 4; - q = t1_buf_array; + q = (byte *) t1_buf_array; cr = 4330; for (i = 0; i < ptr->cslen + 1; i++) *p++ = cencrypt(*q++, &cr); |