Fixed compile warning about signed/unsigned comparison.

This commit is contained in:
Jim Monte 2020-01-12 21:06:51 -05:00
parent f3afb5c66d
commit cba621a4d7
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ int ds_cat_vprintf(DSTRING *p_ds, const char *sz_fmt, va_list p_arg)
}
/* Else check for buffer large enough and set length if it is */
if (rc < n_byte_free) {
if ((size_t) rc < n_byte_free) {
p_ds->length += rc;
return DS_E_OK;
}