commit | c6e7420d52350f01f67e9a3581351b86fd442a79 | [log] [tgz] |
---|---|---|
author | Emil Gydesen <emil.gydesen@nordicsemi.no> | Thu Mar 27 23:13:37 2025 +0100 |
committer | Henrik Brix Andersen <henrik@brixandersen.dk> | Fri Mar 28 12:20:10 2025 +0100 |
tree | 603e4852156a075608284514f5d0c48c99379094 | |
parent | 87d7fcf6c2d511a4e1f93cb14747487cbd8f2c1f [diff] |
Bluetooth: TBS: Client: Fix sizeof('\0') sizeof('\0') is misleading as it will return 4 instead of 1, since it will evaluate to sizeof(0), which returns the size of the `int` type. Modify the expression to use sizeof(char) with a comment. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>