aboutsummaryrefslogtreecommitdiff
path: root/src/mm-error-helpers.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2020-01-11 13:23:24 +0100
committerAleksander Morgado <aleksander@aleksander.es>2020-01-30 19:09:52 +0100
commitc8e4c2e751e66d0e0c86ea4a2055331e9eedca88 (patch)
tree09c5688de981df9a08bc3cecbb715e2dcbcc5c06 /src/mm-error-helpers.c
parentac70712f1f5c12a2f85abf4e814efff8b41ff385 (diff)
broadband-modem-mbim: fix warnings with -Wtype-limits
mm-broadband-modem-mbim.c: In function ‘basic_connect_notification_signal_state’: /usr/include/glib-2.0/glib/gmacros.h:811:63: error: comparison of unsigned expression < 0 is always false [-Werror=type-limits] 811 | ine CLAMP(x, low, high) (((x) > (high)) ? (high) : (((x) < (low)) ? (low) : (x))) | ^ mm-broadband-modem-mbim.c:2918:19: note: in expansion of macro ‘CLAMP’ 2918 | quality = CLAMP (rssi == 99 ? 0 : rssi, 0, 31) * 100 / 31; | ^~~~~
Diffstat (limited to 'src/mm-error-helpers.c')
0 files changed, 0 insertions, 0 deletions