summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipsk/writet1.c
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-02-01 01:26:01 +0000
committerKarl Berry <karl@freefriends.org>2010-02-01 01:26:01 +0000
commit5c05d687532025446333316d8631d87eee32f799 (patch)
tree5077661087e0133a065b04ce0d11113c5e0df9cc /Build/source/texk/dvipsk/writet1.c
parent24a1e484a0f4fb99f26a202ec0d1afdcff826654 (diff)
cast to byte* to avoid warning
git-svn-id: svn://tug.org/texlive/trunk@16887 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipsk/writet1.c')
-rw-r--r--Build/source/texk/dvipsk/writet1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/texk/dvipsk/writet1.c b/Build/source/texk/dvipsk/writet1.c
index d092eacdecf..ef05d94e702 100644
--- a/Build/source/texk/dvipsk/writet1.c
+++ b/Build/source/texk/dvipsk/writet1.c
@@ -1,6 +1,6 @@
/*
$Id$
-Copyright 1996-2005, 2009 Han The Thanh, <thanh@pdftex.org>
+Copyright 1996-2005, 2009, 2010 Han The Thanh, <thanh@pdftex.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -971,7 +971,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++)
@@ -982,7 +982,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);