Commit 4f0f396
committed
common/compat: resolve signedness warnings
/home/ubuntu/ceph/src/common/compat.cc:365:11: warning: comparison of integers of different signs: 'int' and 'const size_t' (aka 'const unsigned long long') [-Wsign-compare]
if (r < iov[i].iov_len)
~ ^ ~~~~~~~~~~~~~~
/home/ubuntu/ceph/src/common/compat.cc:380:11: warning: comparison of integers of different signs: 'int' and 'const size_t' (aka 'const unsigned long long') [-Wsign-compare]
if (r < iov[i].iov_len)
~ ^ ~~~~~~~~~~~~~~
6 warnings generated.
Signed-off-by: Patrick Donnelly <[email protected]>1 parent 792222c commit 4f0f396
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
371 | | - | |
| 371 | + | |
372 | 372 | | |
373 | 373 | | |
374 | 374 | | |
| |||
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
386 | | - | |
| 386 | + | |
387 | 387 | | |
388 | 388 | | |
389 | 389 | | |
| |||
0 commit comments