]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
Switch to unsigned type for fr_lst_index_t (#4190)
authorJames Jones <jejones3141@gmail.com>
Wed, 18 Aug 2021 02:27:00 +0000 (21:27 -0500)
committerGitHub <noreply@github.com>
Wed, 18 Aug 2021 02:27:00 +0000 (21:27 -0500)
commit97ff4e982fdb55caeb225104c383e639570aec5a
tree55efd0aa44882865b2707ec30661a5796c033a7b
parent0bc3d08ec70e62f6e62b62ab9f83b7509a25741f
Switch to unsigned type for fr_lst_index_t (#4190)

* Switch to unsigned type for fr_lst_index_t

This involves adding one to the true index when storing it in an
item, and subtracting one when reading it for use.

* Switch to unsigned type for fr_lst_index_t

This involves adding one to the true index when storing it in an
item, and subtracting one when reading it for use.

* Switch to unsigned type for fr_lst_index_t

This involves adding one to the true index when storing it in an
item, and subtracting one when reading it for use.
src/lib/util/lst.c
src/lib/util/lst.h
src/lib/util/lst_tests.c