From: Chun-wei Fan Date: Wed, 12 Oct 2022 09:08:43 +0000 (+0800) Subject: tests/testmountoperation.c: Fix build on Windows X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~9^2~166^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1a5a65acd034898d10060b2809336012ec55e0ea;p=gtk4.git tests/testmountoperation.c: Fix build on Windows Sadly, we can't just use an interger for a GPid on Windows, so just cast it. Sounds silly for non-Windows, but that's life... --- diff --git a/tests/testmountoperation.c b/tests/testmountoperation.c index 4c908a7c64..a255e644ef 100644 --- a/tests/testmountoperation.c +++ b/tests/testmountoperation.c @@ -148,11 +148,11 @@ main (int argc, char *argv[]) GPid pid; pids = g_array_new (TRUE, FALSE, sizeof (GPid)); - pid = 1000; + pid = (GPid)1000; g_array_append_val (pids, pid); - pid = 2000; + pid = (GPid)2000; g_array_append_val (pids, pid); - pid = 3000; + pid = (GPid)3000; g_array_append_val (pids, pid); g_signal_emit_by_name (op, "show-processes", "Foo\nbar", pids, choices);