Actually implement /tag in cgi_blerg. Also /create
[blerg.git] / database / tags.c
index 1911ac8..dc51c4f 100644 (file)
@@ -92,7 +92,7 @@ int tag_add(const char *author, const char *tag, uint64_t record) {
        return 1;
 }
 
-struct tag * tag_list(const char *tag, uint64_t offset, uint64_t *count, int direction) {
+struct tag * tag_list(const char *tag, uint64_t offset, int *count, int direction) {
        char filename[512];
        struct stat st;
        struct tag *taglist;