eio: fix not to overflow data by performing arithmetic.

This commit is contained in:
Hermet Park 2019-02-27 19:20:29 +09:00
parent 7c8210d8a6
commit 25470a56d3
1 changed files with 1 additions and 1 deletions

View File

@ -667,7 +667,7 @@ _eio_dir_rmrf_heavy(void *data, Ecore_Thread *thread)
/* init counter */
step = 0;
count = eina_list_count(rmrf->files) + eina_list_count(rmrf->dirs) + 1;
count = ((long long) eina_list_count(rmrf->files)) + ((long long) eina_list_count(rmrf->dirs)) + 1;
EINA_LIST_FREE(rmrf->files, file)
{