more cast style consistency

This commit is contained in:
nhmall
2023-11-13 20:31:02 -05:00
parent ee732d4054
commit d064ac2cda
18 changed files with 44 additions and 44 deletions

View File

@@ -356,7 +356,7 @@ nh_snprintf(const char *func UNUSED, int line UNUSED, char *str, size_t size,
n = vsnprintf(str, size, fmt, ap);
va_end(ap);
if (n < 0 || (size_t)n >= size) { /* is there a problem? */
if (n < 0 || (size_t) n >= size) { /* is there a problem? */
str[size-1] = 0; /* make sure it is nul terminated */
}