Commit 07edff9a945abc1312d780257f45fe2658efe8e9

Thomas de Grivel 2024-09-26T12:19:55

fix file.c

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/libkc3/file.c b/libkc3/file.c
index a954bf5..cb3194c 100644
--- a/libkc3/file.c
+++ b/libkc3/file.c
@@ -314,7 +314,7 @@ s_str * file_read_all (const s_str *path, s_str *dest)
   s32 e;
   s32 fd;
   sw pos = 0;
-  uw r;
+  sw r;
   struct stat sb;
   if (stat(path->ptr.pchar, &sb)) {
     e = errno;