mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
Use IsMinListEmpty() for MinList rather than IsListEmpty().
This removes the warnings about breaking the strict-aliasing rules.
This commit is contained in:
@@ -196,7 +196,7 @@ opendir(const char * path_name)
|
||||
UnLockDosList(LDF_VOLUMES|LDF_READ);
|
||||
|
||||
/* Bail out if we cannot present anything. */
|
||||
if(IsListEmpty((struct List *)&dh->dh_VolumeList))
|
||||
if(IsMinListEmpty(&dh->dh_VolumeList))
|
||||
{
|
||||
__set_errno(ENOMEM);
|
||||
goto out;
|
||||
|
||||
Reference in New Issue
Block a user