"char" is a reserved word, so use a different variable name, refs #15153 !strict

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@28335 560b804f-0ae3-0310-86f3-f6aa0a117693
(cherry picked from commit 1358890e2cfeb48e205f1ae76ce74ebe3315653f)