Fixed even more signedness and conversion issues

This should be the last of them.
This commit is contained in:
Rose
2023-07-03 13:06:45 -04:00
parent d3dc70ab62
commit cbed9daa46
5 changed files with 24 additions and 23 deletions

View File

@@ -187,8 +187,8 @@ ts_find_record(int fd, struct timestamp_entry *key, struct timestamp_entry *entr
cur.size, sizeof(cur));
if (lseek(fd, (off_t)cur.size - (off_t)sizeof(cur), SEEK_CUR) == -1) {
sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_ERRNO|SUDO_DEBUG_LINENO,
"unable to seek forward %d",
(int)cur.size - (int)sizeof(cur));
"unable to seek forward %zd",
cur.size - ssizeof(cur));
break;
}
if (cur.size == 0)