X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=sprinter-text.c;h=c75ec5be1cbc5632f56332b40563c87959367547;hp=648b54b1e886553cd839ca24f4f5f0a9378aa47b;hb=a9f74aeeb9ade477d5b80c1c2700945d6c50adb1;hpb=c3a683299d4c27d6eadaacf4fb516f73a6c69fc3 diff --git a/sprinter-text.c b/sprinter-text.c index 648b54b1..c75ec5be 100644 --- a/sprinter-text.c +++ b/sprinter-text.c @@ -1,3 +1,4 @@ +#include #include #include #include @@ -44,11 +45,11 @@ text_string (struct sprinter *sp, const char *val) } static void -text_integer (struct sprinter *sp, int val) +text_integer (struct sprinter *sp, int64_t val) { struct sprinter_text *sptxt = (struct sprinter_text *) sp; - fprintf (sptxt->stream, "%d", val); + fprintf (sptxt->stream, "%" PRId64, val); } static void