]> git.pond.sub.org Git - empserver/commit
nsc: Correct element type in NSC_IELT()
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 29 May 2016 20:58:37 +0000 (22:58 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 6 Aug 2017 17:59:56 +0000 (19:59 +0200)
commit9289eb052500df2aca4a0493f1f77699d038b7e0
tree5f0458c82e9866b5c2f963428d24b6ee7c6bcfa5
parente2fd233aa5aa732ac40c0afd2804581cf747f178
nsc: Correct element type in NSC_IELT()

Commit 9989c5b (v4.2.14) switched item storage from unsigned short to
short, but missed a type cast in the offset computation for
distribution and delivery selectors.  Offset computation was factored
out into NSC_IELT() in commit 4366c5a (v4.2.15).  Correct it there.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
src/lib/common/nsc.c