2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 06:15:37 +00:00

Cast uid/gid to unsigned int before printing.

This commit is contained in:
Todd C. Miller
2018-08-22 12:58:24 -06:00
parent 10198ef6f3
commit fe58062547
4 changed files with 12 additions and 10 deletions

View File

@@ -85,7 +85,7 @@ ts_match_record(struct timestamp_entry *key, struct timestamp_entry *entry,
if (!ISSET(key->flags, TS_ANYUID) && entry->auth_uid != key->auth_uid) {
sudo_debug_printf(SUDO_DEBUG_DEBUG,
"%s:%u record uid mismatch (want %u, got %u)", __func__, recno,
key->auth_uid, entry->auth_uid);
(unsigned int)key->auth_uid, (unsigned int)entry->auth_uid);
debug_return_bool(false);
}
if (entry->type != key->type) {