diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-07-27 16:32:36 +0200 |
---|---|---|
committer | pespin <pespin@sysmocom.de> | 2021-07-28 20:14:14 +0000 |
commit | 7af860fb78d6a13258d5887e7bb71276509229cb (patch) | |
tree | 6c5463d2abfc83b5084c10a169b02c6ea9c0abd1 /tests | |
parent | 053ad966007b3bc50fa03b8e0d947a8ad0eaecca (diff) |
utils: Fix c++ warn in OSMO_STRBUF_APPEND
It's really a false positive since _sb_l is compared and granted to be
psotivie by the time we compare, so we don't really care, but c++ is not
happy about it.
"""
/osmocom/core/utils.h:227:40: error: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Werror=sign-compare]
227 | if (_sb_l < 0 || _sb_l > _sb_remain) \
| ~~~~~~^~~~~~~~~~~~
"""
Change-Id: I90e7374aa959468670f1c0ea65a427398d423ddb
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions