fsm: fix OSMO_T_FMT_ARGS: add missing braces

Change-Id: I3ea7cbc8a51d310d9929ca5a805eb1d3d3880793
This commit is contained in:
Vadim Yanitskiy 2024-01-04 06:38:03 +07:00 committed by laforge
parent 19b07c3dbe
commit b71f461263
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ void osmo_fsm_set_dealloc_ctx(void *ctx);
fmt, ## args)
#define OSMO_T_FMT "%c%u"
#define OSMO_T_FMT_ARGS(T) ((T) >= 0 ? 'T' : 'X'), ((T) >= 0 ? T : -T)
#define OSMO_T_FMT_ARGS(T) ((T) >= 0 ? 'T' : 'X'), ((T) >= 0 ? (T) : -(T))
int osmo_fsm_register(struct osmo_fsm *fsm);
void osmo_fsm_unregister(struct osmo_fsm *fsm);