~vcs-imports/libfs/master

Viewing all changes in revision 122.

  • Committer: Alan Coopersmith
  • Date: 2018-09-23 20:47:35 UTC
  • Revision ID: git-v1:3eb9c6bbfb4e6caf6efb5dec8744f257c2d63be7
Fix sign comparison warning in loop indexes in FSQueryXExtents{8,16}

FSQXExt.c: In function ‘FSQueryXExtents8’:
FSQXExt.c:105:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < reply.num_extents; i++) {
                   ^
FSQXExt.c: In function ‘FSQueryXExtents16’:
FSQXExt.c:141:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (i = 0; i < str_len; i++) {
                ^
FSQXExt.c:165:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < reply.num_extents; i++) {
                   ^

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: