diff options
author | Jonathan Kew <jfkthame@googlemail.com> | 2008-03-27 09:14:58 +0000 |
---|---|---|
committer | Jonathan Kew <jfkthame@googlemail.com> | 2008-03-27 09:14:58 +0000 |
commit | 8fa331c4a7ed20194a81c2a9c5a9511ca2ab66dd (patch) | |
tree | ee493d30c99ceb5c734a159563bede09e88fe6be /Build/source/texk/web2c/lib | |
parent | ee5049fdbb8acbbac0e06dd1450e94a3ccdba59f (diff) |
clean up some const-string warnings
git-svn-id: svn://tug.org/texlive/trunk@7184 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/lib')
-rw-r--r-- | Build/source/texk/web2c/lib/texmfmp.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/lib/texmfmp.c b/Build/source/texk/web2c/lib/texmfmp.c index 1bb31f9dc05..acc6fddc4fd 100644 --- a/Build/source/texk/web2c/lib/texmfmp.c +++ b/Build/source/texk/web2c/lib/texmfmp.c @@ -609,7 +609,7 @@ ipcpage P1C(int, is_eof) { static boolean begun = false; unsigned len = 0; - string p = ""; + string p = (string)""; if (!begun) { string name; /* Just the filename. */ @@ -970,8 +970,10 @@ parse_options P2C(int, argc, string *, argv) #ifdef XeTeX } else if (ARGUMENT_IS ("papersize")) { + extern const_string papersize; papersize = optarg; } else if (ARGUMENT_IS ("output-driver")) { + extern const_string outputdriver; outputdriver = optarg; #endif @@ -1645,7 +1647,7 @@ input_line P1C(FILE *, f) /* This string specifies what the `e' option does in response to an error message. */ -static char *edit_value = EDITOR; +static const_string edit_value = EDITOR; /* This procedure originally due to sjc@s1-c. TeX & Metafont call it when the user types `e' in response to an error, invoking a text editor on |