Juan Quintela c18aaeb690 tests: Make vmgenid test compile
Just make sure that nr_tables is size_t not int.
Once there, do the assert in the right place and be sure that we don't
have a division by zero.

Suggested-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Tested-by: Cleber Rosa <crosa@redhat.com>

--

Drop the s/g_new0/g_malloc0/ change.
Avoid division by zero with assert (danp)
2017-09-05 22:34:40 +02:00
..
2017-07-18 11:47:57 -04:00
2017-06-20 14:31:31 +02:00
2017-08-10 14:33:43 +01:00
2017-08-14 13:06:54 +03:00
2017-05-30 16:09:48 -03:00
2017-07-14 11:04:34 +02:00
2017-07-11 17:44:57 +02:00
2017-09-05 22:34:40 +02:00