Commit 39c71bc3 by Martin Sebor Committed by Martin Sebor

Fix typo in a comment.

From-SVN: r260543
parent d677a8b6
2018-05-22 Martin Sebor <msebor@redhat.com>
* calls.c (maybe_warn_nonstring_arg): Fix a typo in a comment.
2018-05-22 Jackson Woodruff <jackson.woodruff@arm.com> 2018-05-22 Jackson Woodruff <jackson.woodruff@arm.com>
Kyrylo Tkachov <kyrylo.tkachov@arm.com> Kyrylo Tkachov <kyrylo.tkachov@arm.com>
......
...@@ -1691,7 +1691,7 @@ maybe_warn_nonstring_arg (tree fndecl, tree exp) ...@@ -1691,7 +1691,7 @@ maybe_warn_nonstring_arg (tree fndecl, tree exp)
} }
else 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. */ of the length of the string if the latter is smaller. */
if (tree_int_cst_lt (lenrng[1], bndrng[0])) if (tree_int_cst_lt (lenrng[1], bndrng[0]))
bndrng[0] = lenrng[1]; bndrng[0] = lenrng[1];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment