Index: ossp-pkg/lmtp2nntp/lmtp2nntp.c RCS File: /v/ossp/cvs/ossp-pkg/lmtp2nntp/Attic/lmtp2nntp.c,v rcsdiff -q -kk '-r1.21' '-r1.22' -u '/v/ossp/cvs/ossp-pkg/lmtp2nntp/Attic/lmtp2nntp.c,v' 2>/dev/null --- lmtp2nntp.c 2001/08/21 07:40:41 1.21 +++ lmtp2nntp.c 2001/08/21 07:44:32 1.22 @@ -195,19 +195,19 @@ ctx->option_deliverymodefakedsn = &optarg[4]; if ( strlen(ctx->option_deliverymodefakestatus) != 3 - || !isdigit(ctx->option_deliverymodefakestatus[0]) - || !isdigit(ctx->option_deliverymodefakestatus[1]) - || !isdigit(ctx->option_deliverymodefakestatus[2])) { + || !isdigit((int)ctx->option_deliverymodefakestatus[0]) + || !isdigit((int)ctx->option_deliverymodefakestatus[1]) + || !isdigit((int)ctx->option_deliverymodefakestatus[2])) { fprintf(stderr, "%s:Error: Invalid status in format \"%s\" to option -d\n", progname, optarg); exit(ERR_EXECUTION); } if ( (strlen(ctx->option_deliverymodefakedsn) != 5) - || !isdigit(ctx->option_deliverymodefakedsn[0]) + || !isdigit((int)ctx->option_deliverymodefakedsn[0]) || (ctx->option_deliverymodefakedsn[1] != '.') - || !isdigit(ctx->option_deliverymodefakedsn[2]) + || !isdigit((int)ctx->option_deliverymodefakedsn[2]) || (ctx->option_deliverymodefakedsn[3] != '.') - || !isdigit(ctx->option_deliverymodefakedsn[4]) + || !isdigit((int)ctx->option_deliverymodefakedsn[4]) || (ctx->option_deliverymodefakedsn[0] != ctx->option_deliverymodefakestatus[0])) { fprintf(stderr, "%s:Error: Invalid dsn in format \"%s\" to option -d\n", progname, optarg); exit(ERR_EXECUTION);