MD_ZERO_STRUCT instead of {0}.

This commit is contained in:
Miguel Lechon
2021-02-11 11:49:49 +01:00
parent 192b43770b
commit 4e8bfbee03
3 changed files with 27 additions and 21 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ MD_WIN32_FileIterIncrement(MD_FileIter *it, MD_String8 path, MD_FileInfo *out_in
{
MD_b32 result = 0;
WIN32_FIND_DATAA find_data = {0};
WIN32_FIND_DATAA find_data = MD_ZERO_STRUCT;
HANDLE state = *(HANDLE *)(&it->state[0]);
if(state == 0)
{