diff options
author | Brian Behlendorf <[email protected]> | 2015-07-13 12:59:38 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2015-07-13 13:03:01 -0700 |
commit | 2b7b78fa5d794d0bd6b0beb2b8b7f98f7b1071f9 (patch) | |
tree | 1ef4cfee07f6748579e539aaa3ef8198ba0253ae /.gitmodules | |
parent | c2d17fd891add689786c569d7b5ea66d60d69b9b (diff) |
Fix switch-bool warning
As of gcc version 5.1.1 a new warning has been added to detect the
use of a boolean in a switch statement (-Wswitch-bool). Resolve the
warning by explicitly casting the value to an integer type.
zfs-0.6.4/module/zfs/zvol.c: In function 'zvol_request':
error: switch condition has boolean value [-Werror=switch-bool]
Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to '.gitmodules')
0 files changed, 0 insertions, 0 deletions