Properly parse search size expressions as off_t, not int.
[doldaconnect.git] / daemon / search.h
index 990391e..d1b8b78 100644 (file)
@@ -64,7 +64,7 @@ struct sexpr
            int inited;
        } re;
        wchar_t *s;
-       int n;
+       off_t sz;
        struct hash *hash;
     } d;
 };
@@ -104,7 +104,7 @@ struct srchres
     wchar_t *filename;
     struct fnet *fnet;
     wchar_t *peerid, *peernick;
-    size_t size;
+    off_t size;
     int slots;
     struct fnetnode *fn;
     double time;