minor fix in lib/si/dir.c

This commit is contained in:
hyung-hwan 2019-12-23 04:25:34 +00:00
parent a3ac936eab
commit 58017aedb4

View File

@ -886,7 +886,7 @@ int qse_dir_read (qse_dir_t* dir, qse_dir_ent_t* ent)
x = read_dir_to_buf(dir, &name);
if (x >= 1)
{
QSE_MEMSET (ent, 0, QSE_SIZEOF(ent));
QSE_MEMSET (ent, 0, QSE_SIZEOF(*ent));
ent->name = name;
}