Commit 8eeb7936 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠 Committed by Olivier Crête
Browse files

candidate: fix compiler warnings on raspbian

candidate.c:351:12: warning: format ‘%lx’ expects argument of
type ‘long unsigned int’, but argument 4/5 has type ‘guint64’
{aka ‘long long unsigned int’} [-Wformat=]
parent b3192983
Pipeline #142506 passed with stages
in 13 minutes and 8 seconds
......@@ -390,7 +390,7 @@ void
nice_candidate_pair_priority_to_string (guint64 prio, gchar *string)
{
g_snprintf (string, NICE_CANDIDATE_PAIR_PRIORITY_MAX_SIZE,
"%08lx:%08lx:%" G_GUINT64_FORMAT,
"%08" G_GINT64_MODIFIER "x:%08" G_GINT64_MODIFIER "x:%" G_GUINT64_FORMAT,
prio >> 32, (prio >> 1) & 0x7fffffff, prio & 1);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment