about summary refs log tree commit diff stats
path: root/src/loader/file.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/loader/file.nim')
-rw-r--r--src/loader/file.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/loader/file.nim b/src/loader/file.nim
index 40a19981..e9668713 100644
--- a/src/loader/file.nim
+++ b/src/loader/file.nim
@@ -58,7 +58,7 @@ proc loadDir(handle: LoaderHandle, url: URL, path: string) =
         t: ITEM_FILE,
         name: file,
         modified: modified,
-        nsize: info.size
+        nsize: int(info.size)
       ))
     of pcLinkToDir, pcLinkToFile:
       var target = expandSymlink(fullpath)