Misc code cleanup
[tpg/acess2.git] / KernelLand / Kernel / vfs / dir.c
index 26f6f0f..65218af 100644 (file)
@@ -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;
        }

UCC git Repository :: git.ucc.asn.au