/* append a delimiter if necessary */
n = m_strlen(buf);
- if (n && (n < sizeof (buf) - 1) && (buf[n - 1] != idata->delim)) {
+ if (n && (n < ssizeof (buf) - 1) && (buf[n - 1] != idata->delim)) {
buf[n++] = idata->delim;
buf[n] = '\0';
}
(state->entry)[state->entrylen].name = m_strdup(tmp);
/* mark desc with delim in browser if it can have subfolders */
- if (!isparent && !noinferiors && m_strlen(relpath) < sizeof (relpath) - 1) {
+ if (!isparent && !noinferiors && m_strlen(relpath) < ssizeof (relpath) - 1) {
relpath[m_strlen(relpath) + 1] = '\0';
relpath[m_strlen(relpath)] = delim;
}