aboutsummaryrefslogtreecommitdiff
path: root/gcc/calls.c
diff options
context:
space:
mode:
authorMartin Sebor <msebor@redhat.com>2018-05-22 17:51:16 +0000
committerMartin Sebor <msebor@gcc.gnu.org>2018-05-22 11:51:16 -0600
commit39c71bc3b7756aafbddbd45ca1a2a90690dcb460 (patch)
tree86e74de3dd0b826d07e52e8bd8d99319d28388fb /gcc/calls.c
parentd677a8b6818b1682bfccae40cceb7264b53c1018 (diff)
downloadgcc-39c71bc3b7756aafbddbd45ca1a2a90690dcb460.zip
gcc-39c71bc3b7756aafbddbd45ca1a2a90690dcb460.tar.gz
gcc-39c71bc3b7756aafbddbd45ca1a2a90690dcb460.tar.bz2
Fix typo in a comment.
From-SVN: r260543
Diffstat (limited to 'gcc/calls.c')
-rw-r--r--gcc/calls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/calls.c b/gcc/calls.c
index d2eecf1..9d8b96f 100644
--- a/gcc/calls.c
+++ b/gcc/calls.c
@@ -1691,7 +1691,7 @@ maybe_warn_nonstring_arg (tree fndecl, tree exp)
}
else
{
- /* Replace the bound on the oparation with the upper bound
+ /* Replace the bound on the operation with the upper bound
of the length of the string if the latter is smaller. */
if (tree_int_cst_lt (lenrng[1], bndrng[0]))
bndrng[0] = lenrng[1];