ritwik12 / Virtual-Assistant

A linux based Virtual assistant on Artificial Intelligence in C
GNU General Public License v3.0
128 stars 95 forks source link

Changing int to size_t #89

Closed RoyMattar closed 4 years ago

RoyMattar commented 4 years ago

Changing the integral type of iterations counter from int to size_t, when variable could not be negative and value could overflow size of int. In some cases this was done also to accomodate to the return type of strlen(), which is size_t.

ritwik12 commented 4 years ago

@RoyMattar Agree on this. Thanks for the improvements.

ritwik12 commented 4 years ago

Not sure why it is still fetching the old Travis configuration. Merging this as that is irrespective of this PR.