From bb1d03a5e86b0fd6942d4562511fdb18dffd9c6e Mon Sep 17 00:00:00 2001 From: Mark Valence Date: Sun, 4 Jun 2000 04:35:13 +0000 Subject: [PATCH] Clean up some NT lint. --- libraries/liblber/sockbuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/liblber/sockbuf.c b/libraries/liblber/sockbuf.c index b0165423dd..be8c3e8150 100644 --- a/libraries/liblber/sockbuf.c +++ b/libraries/liblber/sockbuf.c @@ -273,7 +273,7 @@ ber_pvt_sb_do_write( Sockbuf_IO_Desc *sbiod, Sockbuf_Buf *buf_out ) buf_out->buf_ptr += ret; if (buf_out->buf_ptr == buf_out->buf_end) buf_out->buf_end = buf_out->buf_ptr = 0; - if ( ret < to_go ) + if ( (ber_len_t)ret < to_go ) /* not enough data, so pretend no data was sent. */ return -1; return ret; -- 2.39.5