summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdfmx/src/dpxfile.c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2013-03-26 15:48:24 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2013-03-26 15:48:24 +0000
commit4d5de479f15b3829f09a2ea7f95a4dc02f2a173d (patch)
treee3e1a2006815cde4068af759b17755cc551b3fe6 /Build/source/texk/dvipdfmx/src/dpxfile.c
parent2828ca9dddf8d113b8c47982be7a257244e1f708 (diff)
(x)dvipdfmx: Avoid gcc warnings
git-svn-id: svn://tug.org/texlive/trunk@29515 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfmx/src/dpxfile.c')
-rw-r--r--Build/source/texk/dvipdfmx/src/dpxfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/dvipdfmx/src/dpxfile.c b/Build/source/texk/dvipdfmx/src/dpxfile.c
index dcb520577d2..0ce27b6ce02 100644
--- a/Build/source/texk/dvipdfmx/src/dpxfile.c
+++ b/Build/source/texk/dvipdfmx/src/dpxfile.c
@@ -815,7 +815,7 @@ dpx_create_temp_file (void)
#endif /* 0 */
char *
-dpx_create_fix_temp_file (char *filename)
+dpx_create_fix_temp_file (const char *filename)
{
#define PREFIX "dvipdfmx."
static const char *dir = NULL;
@@ -835,7 +835,7 @@ dpx_create_fix_temp_file (char *filename)
MD5_init(&state);
MD5_write(&state, (unsigned char *)cwd, strlen(cwd));
- MD5_write(&state, (unsigned char *)filename, strlen(filename));
+ MD5_write(&state, (unsigned const char *)filename, strlen(filename));
MD5_final(digest, &state);
ret = NEW(strlen(dir)+1+strlen(PREFIX)+MAX_KEY_LEN*2 + 1, char);