From: Adam Dickmeiss Date: Thu, 14 Jan 2010 11:51:22 +0000 (+0100) Subject: Use size_t for local X-Git-Tag: v4.0.0~32 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=ee2000792b8f11a3ada8b3cd7f197ac6c7fa7d67 Use size_t for local --- 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)