mirror of
https://github.com/moparisthebest/pacman
synced 2025-03-01 09:51:50 -05:00
Avoid comparison between signed and unsigned types
Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
80b0f27125
commit
5e13b2b6af
@ -760,7 +760,8 @@ static void cl_to_log(int argc, char* argv[])
|
|||||||
*/
|
*/
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
int i, ret = 0;
|
int ret = 0;
|
||||||
|
size_t i;
|
||||||
struct sigaction new_action, old_action;
|
struct sigaction new_action, old_action;
|
||||||
const int signals[] = { SIGHUP, SIGINT, SIGTERM, SIGSEGV };
|
const int signals[] = { SIGHUP, SIGINT, SIGTERM, SIGSEGV };
|
||||||
#if defined(HAVE_GETEUID) && !defined(CYGWIN)
|
#if defined(HAVE_GETEUID) && !defined(CYGWIN)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user