-
Chris Clayton authored
Compiling (with gcc-4.9-20150603) produces an error because of an access beyond the end of an array. This patch fixes the error by initializing the loop control/array index variable (i) to 1 and returning i - 1 when a match is found. Also, because the values stored in the array increase in value as the index increases, the >= test unnecessary, so it is removed.
e29f231e