[stgt] [PATCH] Get rid of compile warning in sbc.c
Albert Pauw
albert.pauw at gmail.com
Sun Dec 27 10:28:54 CET 2009
Sorry about the previous message subject line, it was just a warning.
Must have been the
Christmas food that's bugging me ;-)
Albert
--
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/27009f41/attachment-0001.ksh>
More information about the stgt
mailing list