X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fseshigh.c;h=7f9b7cb3322052e1285d3cf756e3f48304dd44ea;hp=7a52adcf57a366d13443f3f2c36985693fc300ed;hb=ee2000792b8f11a3ada8b3cd7f197ac6c7fa7d67;hpb=7c9bef6a8e73fe722c2de81e76f56afc8d7f3cd3 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)