From ee2000792b8f11a3ada8b3cd7f197ac6c7fa7d67 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 14 Jan 2010 12:51:22 +0100 Subject: [PATCH] Use size_t for local --- src/seshigh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/seshigh.c b/src/seshigh.c index 7a52adc..7f9b7cb 100644 --- a/src/seshigh.c +++ b/src/seshigh.c @@ -527,7 +527,7 @@ static int srw_bend_init(association *assoc, Z_SRW_diagnostic **d, int *num, Z_S { Z_IdAuthentication *auth = (Z_IdAuthentication *) odr_malloc(assoc->decode, sizeof(*auth)); - int len; + size_t len; len = strlen(sr->username) + 1; if (sr->password) -- 1.7.10.4