]> git.ipfire.org Git - people/ms/libloc.git/blobdiff - src/test-as.c
Bump database version to "1"
[people/ms/libloc.git] / src / test-as.c
index b531173c38e3812d08f96be3887e712bc268c487..5357d53b54b5b75041333d43f300cc0baa5396a9 100644 (file)
@@ -34,7 +34,7 @@ int main(int argc, char** argv) {
 
        // Create a database
        struct loc_writer* writer;
-       err = loc_writer_new(ctx, &writer, NULL);
+       err = loc_writer_new(ctx, &writer, LOC_DATABASE_VERSION_LATEST, NULL);
        if (err < 0)
                exit(EXIT_FAILURE);