forked from enlightenment/efl
eio: fix not to overflow data by performing arithmetic.
This commit is contained in:
parent
7c8210d8a6
commit
25470a56d3
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue