mystuff/mail/mu/patches/patch-lib_utils_mu-str_c

15 lines
308 B
Plaintext
Raw Normal View History

2023-01-10 11:45:28 +01:00
$OpenBSD$
make this function compile correctly under clang
Index: lib/utils/mu-str.c
--- lib/utils/mu-str.c.orig
+++ lib/utils/mu-str.c
@@ -49,7 +49,7 @@ mu_str_size_s (size_t s)
char*
mu_str_size (size_t s)
{
- return g_strdup (mu_str_size_s(s));
+ return g_format_size_for_display ((goffset)s);
}