engines/http: support openssl < 1.1.0
[fio.git] / file.h
diff --git a/file.h b/file.h
index cc721ee27a33c03e1ed1ff430170bbdec5b77432..c0a547eb1d2dc4ed1ca784f811265841328e6c25 100644 (file)
--- a/file.h
+++ b/file.h
@@ -86,7 +86,7 @@ struct fio_file {
         */
        unsigned int major, minor;
        int fileno;
-       int bs;
+       unsigned long long bs;
        char *file_name;
 
        /*
@@ -125,7 +125,7 @@ struct fio_file {
         * if io is protected by a semaphore, this is set
         */
        union {
-               struct fio_mutex *lock;
+               struct fio_sem *lock;
                struct fio_rwlock *rwlock;
        };