mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
opendir: Eidolon suggestion for initialiser
This commit is contained in:
parent
3e9231f658
commit
731446bb3e
1 changed files with 1 additions and 1 deletions
|
|
@ -172,7 +172,7 @@ opendir (const CHAR *szPath)
|
|||
/* Initialize the dirent structure. ino and reclen are invalid under
|
||||
* Win32, and name simply points at the appropriate part of the
|
||||
* findfirst_t structure. */
|
||||
nd->dd_dta = {0};
|
||||
nd->dd_dta = (struct _finddata_t) {0};
|
||||
nd->dd_dir.d_ino = 0;
|
||||
nd->dd_dir.d_reclen = 0;
|
||||
nd->dd_dir.d_namlen = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue