luke-jr/bfgminer — pull request #367 by isghe (2014-01-05 14:48:31+00:00)
Title: int quirk_reopen (it was bool);

to avoid:
driver-icarus.c:1057:41: warning: comparison of constant 2 with expression of type 'bool' is always true [-Wtautological-constant-out-of-range-compare]
if (was_hw_error && info->quirk_reopen != 2) {
~~~~~~~~~~~~~~~~~~ ^ ~
driver-icarus.c:1070:25: warning: comparison of constant 2 with expression of type 'bool' is always false [-Wtautological-constant-out-of-range-compare]
if (info->quirk_reopen == 2 && !icarus_reopen(icarus, state, &fd))