X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=notmuch.c;h=10782d4deadf9c2979a44c02541fdd351b298ca0;hb=cc48812cb55e046a77ce1b4aad33566acc5fbd47;hp=c5fef0e800961782a1941d2999a4be6f4c6146c0;hpb=067c547b236133cacbe7192b99bcd5487a08f7c8;p=obsolete%2Fnotmuch-old diff --git a/notmuch.c b/notmuch.c index c5fef0e8..10782d4d 100644 --- a/notmuch.c +++ b/notmuch.c @@ -755,7 +755,8 @@ restore_command (int argc, char *argv[]) FILE *input; notmuch_database_t *notmuch = NULL; char *line = NULL; - size_t line_size, line_len; + size_t line_size; + ssize_t line_len; regex_t regex; int rerr; int ret = 0; @@ -893,7 +894,7 @@ void usage (void) { command_t *command; - int i; + unsigned int i; fprintf (stderr, "Usage: notmuch [args...]\n"); fprintf (stderr, "\n"); @@ -911,7 +912,7 @@ int main (int argc, char *argv[]) { command_t *command; - int i; + unsigned int i; if (argc == 1) return setup_command (0, NULL);