X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FKernel%2Fvfs%2Fdir.c;h=65218af09bd2fcf294c0f3cbf8ce346859b300dc;hb=bf62604f78c2d8bc88cac3664e15ed02c6e6d581;hp=26f6f0f449474dbaa6812f0d9ce554566deb0035;hpb=cd52bcda41d322aaaf61adeec0edaaecc791c43b;p=tpg%2Facess2.git diff --git a/KernelLand/Kernel/vfs/dir.c b/KernelLand/Kernel/vfs/dir.c index 26f6f0f4..65218af0 100644 --- a/KernelLand/Kernel/vfs/dir.c +++ b/KernelLand/Kernel/vfs/dir.c @@ -163,7 +163,7 @@ int VFS_ReadDir(int FD, char *Dest) return 0; } - if(h->Node->Size != -1 && h->Position >= h->Node->Size) { + if(h->Node->Size != (Uint64)-1 && h->Position >= h->Node->Size) { //LEAVE('i', 0); return 0; }