Fixed compile warning about signed/unsigned comparison.

This commit is contained in:
Jim Monte 2020-01-12 21:06:51 -05:00 committed by Holger Vogt
parent 5652afc87d
commit 31c7b69d39
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,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;
}