summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2011-07-30 10:51:44 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2011-07-30 10:51:44 +0000
commitf9d044b2d29a90fff44382daac27e20b65482a93 (patch)
treeda5ede98d1b9a08db6bef22fc0bd9955b8094e73
parent251f4389b91cad26e115dd7e81dfbde421bd8cfd (diff)
web2c: avoid compiler warnings
git-svn-id: svn://tug.org/texlive/trunk@23275 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/web2c/ChangeLog5
-rw-r--r--Build/source/texk/web2c/mft.ch2
2 files changed, 6 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/ChangeLog b/Build/source/texk/web2c/ChangeLog
index c8cf1362498..459c5f02e11 100644
--- a/Build/source/texk/web2c/ChangeLog
+++ b/Build/source/texk/web2c/ChangeLog
@@ -1,3 +1,8 @@
+2011-07-30 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * mft.ch (parsearguments): Allow find_suffix() to return a
+ const string.
+
2011-07-11 Peter Breitenlohner <peb@mppmu.mpg.de>
* configure.ac: No need to test for PDFDoc::getPDFMajorVersion
diff --git a/Build/source/texk/web2c/mft.ch b/Build/source/texk/web2c/mft.ch
index b8c53a0a377..70f3a7016ba 100644
--- a/Build/source/texk/web2c/mft.ch
+++ b/Build/source/texk/web2c/mft.ch
@@ -1078,7 +1078,7 @@ var @!long_options: array[0..n_options] of getopt_struct;
@!getopt_return_val: integer;
@!option_index: c_int_type;
@!current_option: 0..n_options;
- @!suffix: c_string;
+ @!suffix: const_c_string;
begin
@<Initialize the option variables@>;
@<Define the option table@>;