mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-27 21:00:10 +01:00
It is not uncommon that a flags type has also the value 0 mapped, for example to "unknown" or "none". In that case, we should not return an empty string, but instead that zero value. Also, flags actually have an unsigned type. That isn't a real problem to cast it to a signed int. But be more careful about it and use unsigned while handling unsigned values and only cast to int once. |
||
|---|---|---|
| .. | ||
| certs | ||
| test-compare.c | ||
| test-crypto.c | ||
| test-general-enums.h | ||
| test-general.c | ||
| test-keyfile.c | ||
| test-secrets.c | ||
| test-setting-8021x.c | ||
| test-setting-bond.c | ||
| test-setting-dcb.c | ||
| test-settings-defaults.c | ||