Commit: cfcc6346a96a9a4c3123ddc5bb395e079efe5205
Parent: fdb5ba2cbff3e8f1411ab188fa84b58879b92b83
Author: Jonas Dreßler <verdre@v0yd.nl>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2023-11-13 20:29:55
Tree: 26db3996c9379c6dd459146620dd32bcf5d831ea

lib/sdp: Don't assume uint8_t has size 1 Assuming the size of of uint8_t is bad practice, we use sizeof(uint8_t) everywhere else and the use of sizeof makes it clear we're accounting for the descriptor here rather than just randomly subtracting 1, so change that. Co-developed-by: Zander Brown <zbrown@gnome.org>

Diffstat

M lib/sdp.c | 2 +-

1 files changed, 1 insertions(+), 1 deletions(-)

View Full Diff | Patch