test: fix parsing of NMTST_SEED_RAND

This commit is contained in:
Thomas Haller 2015-03-27 12:13:38 +01:00
parent 44a963c894
commit 0a2c0d12e8

View file

@ -394,7 +394,7 @@ nmtst_get_rand (void)
gint64 i;
i = g_ascii_strtoll (str, &s, 0);
g_assert (s[0] == '\0' && i >= 0 && i < G_MAXINT32);
g_assert (s[0] == '\0' && i >= 0 && i < G_MAXUINT32);
seed = i;
__nmtst_internal.rand = g_rand_new_with_seed (seed);