Use right type casts in string_compare_by_pointer
[exim.git] / src / src / string.c
index be5a8deda633965ad33300b716352278e3374a83..e0e0fa5ae536db9a0294e8373ecf77c643e69f81 100644 (file)
@@ -1715,7 +1715,7 @@ pointers. Here it is. */
 int
 string_compare_by_pointer(const void *a, const void *b)
 {
-return Ustrcmp(CUSS *(const char**) a, CUSS *(const char**) b);
+return Ustrcmp(* CUSS a, * CUSS b);
 }
 #endif /* COMPILE_UTILITY */