Fix a conditional check. (size - tc->size > 0) is always true if size and tc->size...