Clean up some NT lint.

This commit is contained in:
Mark Valence 2000-06-04 04:35:13 +00:00
parent 47888f1c6b
commit bb1d03a5e8

View File

@ -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;