While rebuilding Fedora with a C99 compiler, we noticed that we need
this patch to avoid a compilation error:

diff --git a/lttv/lttv/state.c b/lttv/lttv/state.c
index 513c1bf3bb03ec7a..a1a31df2cbe6be30 100644
--- a/lttv/lttv/state.c
+++ b/lttv/lttv/state.c
@@ -271,7 +271,7 @@ gboolean rettrue(gpointer key, gpointer value, gpointer 
user_data)
        return TRUE;
 }
 
-static guint check_expand(nb, id)
+static guint check_expand(int nb, int id)
 {
        if(likely(nb > id))
                return nb;

Related to:

  <https://fedoraproject.org/wiki/Changes/PortingToModernC>
  <https://fedoraproject.org/wiki/Toolchain/PortingToModernC>

Thanks,
Florian

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Reply via email to