tests: Fix C test for sqlite module
authorTomas Mlcoch <tmlcoch@redhat.com>
Thu, 26 Jun 2014 13:41:14 +0000 (15:41 +0200)
committerTomas Mlcoch <tmlcoch@redhat.com>
Thu, 26 Jun 2014 13:41:14 +0000 (15:41 +0200)
tests/test_sqlite.c

index 421f8e4..d2aa44f 100644 (file)
@@ -321,7 +321,8 @@ test_all(TestData *testdata, gconstpointer test_data)
     // Load package
 
     cr_package_parser_init();
-    pkg = cr_package_from_rpm(EMPTY_PKG, CR_CHECKSUM_SHA256, EMPTY_PKG, NULL, 5, NULL, NULL);
+    pkg = cr_package_from_rpm(EMPTY_PKG, CR_CHECKSUM_SHA256, EMPTY_PKG, NULL,
+                              5, NULL, CR_HDRR_NONE, NULL);
     g_assert(pkg);
     cr_package_parser_cleanup();