[llvm-commits] [lld] Fix some warnings

Joerg Sonnenberger joerg at britannica.bec.de
Thu Apr 26 08:40:02 PDT 2012


On Thu, Apr 26, 2012 at 10:37:04AM -0500, Evandro Menezes wrote:
> With that said, there's only one warning:
> 
> .../tools/lld/lib/Platforms/Darwin/ExecutableWriter.cpp:1222:30:
> warning: comparison between signed and unsigned integer expressions
> [-Wsign-compare]
> 
> If this is worth getting rid off, is this patch OK?

Like I said, shouldn't that be either size_t or StringRef::size_type?
Otherwise it looks ok.

Joerg



More information about the llvm-commits mailing list