NetworkManager/shared/nm-std-aux
Thomas Haller 478d5bdafe
shared: fix unit tests for nm_utils_get_next_realloc_size()
The change broke unit tests on 32 bit systems.

Change the code again to make it more similar to what it was
before. Now only on 64 bit systems there is any difference compared
to before. That makes it easier about reasoning for how the unit test
should be (in most cases, it is unchanged).

Fixes: 040c86f15c ('shared: avoid compiler warning for nm_utils_get_next_realloc_size() returning huge sizes')
2021-01-12 09:56:43 +01:00
..
c-list-util.c all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
c-list-util.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-dbus-compat.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-std-aux.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-std-utils.c shared: fix unit tests for nm_utils_get_next_realloc_size() 2021-01-12 09:56:43 +01:00
nm-std-utils.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
unaligned.h shared: don't clang-format "shared/nm-std-aux/unaligned.h" 2021-01-05 09:37:02 +01:00