X-Git-Url: http://git.bytex64.net/?a=blobdiff_plain;f=tools%2Fblergtool.c;h=b0e7368589f91134267de8ee7d0c2196269e0fbf;hb=4cb5e55ccf51bafceafa493fb0596fd00d5e551d;hp=d5aef50f9f26e2b7677f22b8ef324f7f78705a10;hpb=1cf0f1ebfbd5b5a621af2a49ac0328fd0cec4bf4;p=blerg.git diff --git a/tools/blergtool.c b/tools/blergtool.c index d5aef50..b0e7368 100644 --- a/tools/blergtool.c +++ b/tools/blergtool.c @@ -1,3 +1,6 @@ +/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a + * BSD-style license. Please see the COPYING file for details. + */ #include #include #include "database.h" @@ -53,8 +56,8 @@ int main(int argc, char *argv[]) { free(data); } else if (strncmp(argv[1], "list", 4) == 0) { char *tag = argv[2]; - uint64_t count = 50; - struct tag *list = tag_list(tag, 0, &count, -1); + int count = 50; + struct blergref *list = tag_list(tag, 0, &count, -1); if (list == NULL) { printf("No entries"); } else {