Silence some signedness warnings.

This commit is contained in:
Ferenc Wagner 2005-04-11 12:46:28 +00:00 committed by Alexandre Julliard
parent 0a63a72f81
commit f042209c3b
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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++) {