Silence some signedness warnings.
This commit is contained in:
parent
0a63a72f81
commit
f042209c3b
|
@ -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;
|
||||
|
|
|
@ -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++) {
|
||||
|
|
Loading…
Reference in New Issue