setup_osutil_cffi.py
changeset 29910 a043c6d372db
parent 29600 7a157639b8f2
--- a/setup_osutil_cffi.py	Wed Aug 31 12:46:53 2016 -0700
+++ b/setup_osutil_cffi.py	Thu Sep 08 10:37:58 2016 +0200
@@ -45,6 +45,8 @@
     ...;
 } attrreference_t;
 
+typedef int ... off_t;
+
 typedef struct val_attrs {
     uint32_t          length;
     attribute_set_t   returned;
@@ -52,14 +54,13 @@
     uint32_t          obj_type;
     struct timespec   mtime;
     uint32_t          accessmask;
-    int               datalength;
+    off_t             datalength;
     ...;
 } val_attrs_t;
 
 /* the exact layout of the above struct will be figured out during build time */
 
 typedef int ... time_t;
-typedef int ... off_t;
 
 typedef struct timespec {
     time_t tv_sec;