Minor fixes for compilation informationals/complaints on VMS
Bug #1417545 reported by
Peter (Stig) Edwards
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sysbench |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hello and thank you for SysBench,
While compiling on VMS the compiler complains in 2 places about an unsigned int being being compared with a relational operator to a constant whose value is not greater than zero.
In sysbench.c in init because num_threads is unsigned,
<< if (sb_globals.
>> if ( 0 == sb_globals.
and in tests/fileio/
<< if (num_files <= 0)
>> if ( 0 == num_files )
Cheers.
To post a comment you must log in.
Fixed in https:/ /github. com/akopytov/ sysbench. Thank you.