replace typeof with __typeof__
[fio.git] / verify.c
index 40d484b5c60a6ac281a2d6da5f328be3b15e3f0a..1bb67519b9658276c39b9f88a7aa7ef6643861e8 100644 (file)
--- a/verify.c
+++ b/verify.c
@@ -1517,7 +1517,7 @@ int paste_blockoff(char *buf, unsigned int len, void *priv)
        struct io_u *io = priv;
        unsigned long long off;
 
-       typecheck(typeof(off), io->offset);
+       typecheck(__typeof__(off), io->offset);
        off = cpu_to_le64((uint64_t)io->offset);
        len = min(len, (unsigned int)sizeof(off));
        memcpy(buf, &off, len);