[sudo-commits] sudo changeset 15089:b090ed40a1d0

Todd C. Miller Todd.Miller at sudo.ws
Wed Sep 27 15:32:42 MDT 2023


changeset:	15089:b090ed40a1d0 in /raid/repos/sudo
tags:		tip
details:	https://www.sudo.ws/repos/sudo/rev/b090ed40a1d0
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Wed Sep 27 15:11:10 2023 -0600
files:		lib/eventlog/parse_json.c lib/iolog/iolog_legacy.c lib/iolog/iolog_timing.c logsrvd/iolog_writer.c logsrvd/logsrvd_conf.c logsrvd/logsrvd_journal.c logsrvd/logsrvd_local.c logsrvd/sendlog.c plugins/sudoers/defaults.c plugins/sudoers/iolog.c plugins/sudoers/log_client.c

Log Message:
	Add casts when storing values in a struct timespec.

	Fixes -Wconversion warnings on some 32-bit systems where time_t is
	still 32-bit.


diffstat:

 lib/eventlog/parse_json.c    |   4 ++--
 lib/iolog/iolog_legacy.c     |   3 ++-
 lib/iolog/iolog_timing.c     |   2 +-
 logsrvd/iolog_writer.c       |   8 ++++----
 logsrvd/logsrvd_conf.c       |   8 ++++----
 logsrvd/logsrvd_journal.c    |   4 ++--
 logsrvd/logsrvd_local.c      |  12 ++++++------
 logsrvd/sendlog.c            |   8 ++++----
 plugins/sudoers/defaults.c   |   2 +-
 plugins/sudoers/iolog.c      |   2 +-
 plugins/sudoers/log_client.c |   4 ++--
 11 files changed, 29 insertions(+), 28 deletions(-)



More information about the sudo-commits mailing list