[Lldb-commits] [PATCH] suppress compiler warning (mostly -Wsign-compare)
rwindz0 at gmail.com
Fri Nov 14 16:44:00 PST 2014
It is a choice based on some reasons:
1. i is going to negative here where the loop stops. So i must be signed
2. i should be large enough to hold a unsigned size_t. If type int is
sufficient in the previous case, type long is larger.
3.As I know, size_t is unsigned long under OS X.
More information about the lldb-commits