There's a more concise way of iterating in reverse.
for (size_t i = numBurritos; i-- > 0;)
if (wantBurrito(i))
break;
Where an advantage is that many assembly languages have a "jump if zero" or "jump if not zero" instruction.EDIT: It appears the article has been updated to reflect this method.