From f042209c3b1e0049569e65f1d5e1d48925f1e5b3 Mon Sep 17 00:00:00 2001 From: Ferenc Wagner Date: Mon, 11 Apr 2005 12:46:28 +0000 Subject: [PATCH] Silence some signedness warnings. --- programs/winetest/gui.c | 3 +-- programs/winetest/main.c | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/programs/winetest/gui.c b/programs/winetest/gui.c index 67182aa3221..b1a5e48dbb4 100644 --- a/programs/winetest/gui.c +++ b/programs/winetest/gui.c @@ -515,8 +515,7 @@ report (enum report_type t, ...) va_start (ap, t); if (t < sizeof text_funcs / sizeof text_funcs[0] && - t < sizeof GUI_funcs / sizeof GUI_funcs[0] && - t >= 0) ret = funcs[t](ap); + t < sizeof GUI_funcs / sizeof GUI_funcs[0]) ret = funcs[t](ap); else report (R_WARNING, "unimplemented report type: %d", t); va_end (ap); return ret; diff --git a/programs/winetest/main.c b/programs/winetest/main.c index 996374612bd..3d6ea082280 100644 --- a/programs/winetest/main.c +++ b/programs/winetest/main.c @@ -192,7 +192,8 @@ const char* get_file_rev(const char* file) void extract_rev_infos () { char revinfo[256], *p; - int size = 0, i, len; + int size = 0, i; + unsigned int len; HMODULE module = GetModuleHandle (NULL); for (i = 0; TRUE; i++) {