X-Git-Url: http://git.bytex64.net/?a=blobdiff_plain;f=tools%2Fblergtool.c;h=0531858a9ce28351f0d7bc52847f82ed091b9b3e;hb=d07aee6282c303bba6ca9dbd0fa0ad3dfca58c5a;hp=d5aef50f9f26e2b7677f22b8ef324f7f78705a10;hpb=1cf0f1ebfbd5b5a621af2a49ac0328fd0cec4bf4;p=blerg.git diff --git a/tools/blergtool.c b/tools/blergtool.c index d5aef50..0531858 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,7 +56,7 @@ int main(int argc, char *argv[]) { free(data); } else if (strncmp(argv[1], "list", 4) == 0) { char *tag = argv[2]; - uint64_t count = 50; + int count = 50; struct tag *list = tag_list(tag, 0, &count, -1); if (list == NULL) { printf("No entries");