lib:util: Remove redundant casts in PUSH_*() macros
commita334ad85b820eb1613a0b58e71814bdf54f22f95
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Thu, 30 Nov 2023 02:00:08 +0000 (30 15:00 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 21 Dec 2023 20:21:34 +0000 (21 20:21 +0000)
tree7787ff537f174cadcb011a1a285b04bfa1d59133
parent7d88280baaa8289addcc50fa927a6ac856628871
lib:util: Remove redundant casts in PUSH_*() macros

The PUSH_*() macros already cast their arguments to the expected type,
so we don’t need to cast the arguments *again* prior to invoking the
macros.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/util/bytearray.h