MertGunduz / yiffy

furry tui app for searching/downloading/fetching images from e621/e926
https://mertgunduz.github.io/yiffy/
GNU General Public License v3.0
7 stars 1 forks source link

Change the for loops counter type to size_t #10

Closed MertGunduz closed 1 year ago

MertGunduz commented 1 year ago

For loops are using this in the current codebase:

for (int i = 0; i < NUM; i++)
{
      // code
}

We want to make it like this for better readability and optimisation:

for (size_t i = 0; i < NUM; i++)
{
      // code
}
MertGunduz commented 1 year ago

Finished 🚀