summaryrefslogtreecommitdiff
path: root/tests/usbg-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/usbg-test.c')
-rw-r--r--tests/usbg-test.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/usbg-test.c b/tests/usbg-test.c
index 4f3cb8e..e7ce209 100644
--- a/tests/usbg-test.c
+++ b/tests/usbg-test.c
@@ -426,6 +426,8 @@ int path_equal_display_error(const LargestIntegralType actual, const LargestInte
void assert_path_equal(const char *actual, const char *expected)
{
- if (path_equal_display_error((const LargestIntegralType)actual, (const LargestIntegralType)expected) == 0)
+ if (path_equal_display_error(
+ cast_to_largest_integral_type(actual),
+ cast_to_largest_integral_type(expected)) == 0)
fail();
}