Update ZydisPerfTest.c
Update ZydisPerfTest.c

your check is incorrect. since the variables are unsigned, it is equivalent to data_written != bytes_read.
so I suggest a simple fix for the error.
zyantific/zydis,zyantific/zydis