]> Git Repo - qemu.git/blobdiff - tests/test-qga.c
decodetree: Drop check for less than 2 patterns in a group
[qemu.git] / tests / test-qga.c
index 1ca49bbced25a1ed150ebd2cae7334ed8a811bb0..d2b2435bb46e28181866a3704ad10803402cb210 100644 (file)
@@ -143,7 +143,7 @@ static void qmp_assertion_message_error(const char     *domain,
 static void test_qga_sync_delimited(gconstpointer fix)
 {
     const TestFixture *fixture = fix;
-    guint32 v, r = g_random_int();
+    guint32 v, r = g_test_rand_int();
     unsigned char c;
     QDict *ret;
 
@@ -186,7 +186,7 @@ static void test_qga_sync_delimited(gconstpointer fix)
 static void test_qga_sync(gconstpointer fix)
 {
     const TestFixture *fixture = fix;
-    guint32 v, r = g_random_int();
+    guint32 v, r = g_test_rand_int();
     QDict *ret;
 
     /*
This page took 0.021692 seconds and 4 git commands to generate.