Fixed compile warning about signed/unsigned comparison.
This commit is contained in:
parent
f3afb5c66d
commit
cba621a4d7
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue