cryptui: Avoid signed-unsigned integer comparisons.

This commit is contained in:
Andrew Talbot 2013-01-01 15:48:27 +00:00 committed by Alexandre Julliard
parent 80e4d899ed
commit bb7ca4379e

View file

@ -2836,7 +2836,7 @@ static const struct v1_field v1_fields[] = {
static void add_v1_fields(HWND hwnd, struct detail_data *data)
{
int i;
unsigned int i;
PCCERT_CONTEXT cert = data->pCertViewInfo->pCertContext;
/* The last item in v1_fields is the public key, which is not in the loop
@ -3768,7 +3768,7 @@ static void show_edit_cert_properties_dialog(HWND parent,
static void free_detail_fields(struct detail_data *data)
{
DWORD i;
int i;
for (i = 0; i < data->cFields; i++)
HeapFree(GetProcessHeap(), 0, data->fields[i].detailed_value);