summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2010-02-15 09:26:15 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2010-02-15 09:26:15 +0000
commit46a755637a029e18140bc635485f25020c276ef9 (patch)
tree73dba409e4ad2ccf5c40e9154b13782afa2dedcc /Build
parentc76e736e8cc6cf151803e3e41593b562ab945b8b (diff)
compiler warnings
git-svn-id: svn://tug.org/texlive/trunk@17036 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/web2c/pdftexdir/ChangeLog4
-rw-r--r--Build/source/texk/web2c/pdftexdir/writet1.c4
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);