summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2000-08-03 23:55:24 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2000-08-03 23:55:24 +0000
commit57cac714619b1ad67680b91025a9029df8906715 (patch)
tree857c975d15a09b830dcae4c1c818cc85d2473fc3
parent83440c1e96af9c2f3c1ac4fd3104a95592bbc270 (diff)
downloadgcc-57cac714619b1ad67680b91025a9029df8906715.tar.gz
* extend.texi: Fix typo in last change.
From-SVN: r35466
-rw-r--r--gcc/ChangeLog2
-rw-r--r--gcc/extend.texi2
2 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2e39eca54fc..6472f75bf81 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,7 @@
2000-08-03 Mark Mitchell <mark@codesourcery.com>
+ * extend.texi: Fix typo in last change.
+
* extend.texi: Add commentary on statement-expressions and their
interactions with C++.
diff --git a/gcc/extend.texi b/gcc/extend.texi
index ed4e75f9bfb..8d047f664fc 100644
--- a/gcc/extend.texi
+++ b/gcc/extend.texi
@@ -220,7 +220,7 @@ on,
@example
string a, b;
-printf("%s", toupper((a+b).c_str()[0]));
+printf("%c", toupper((a+b).c_str()[0]));
@end example
@noindent