[stgt] [PATCH] Get rid of compile error in sbc.c

Albert Pauw albert.pauw at gmail.com
Sun Dec 27 10:24:46 CET 2009


Compiling stgt gives a warning in sbc.c:

sbc.c: In function ‘sbc_read_capacity’:
sbc.c:131: warning: suggest parentheses around operand of ‘!’ or change 
‘&’ to ‘&&’ or ‘!’ to ‘~’

Several options are possible, I made the attached patch.

This doesn't change any of the operators but got rid of the warning.

Albert




-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sbc-patch
URL: <http://lists.wpkg.org/pipermail/stgt/attachments/20091227/26e6b4e1/attachment-0001.ksh>


More information about the stgt mailing list