X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=afh_recv.c;h=164634634fedbaaf5441ebdec79dcff51e24d641;hp=ff794852239a093903d513581d7fbed2a4c93eff;hb=5e8d8a8eea6de9459ebdf4498f9f061c84bfa63a;hpb=6e0b28e02a1013c019a3225e922b71f913bfbae4 diff --git a/afh_recv.c b/afh_recv.c index ff794852..16463463 100644 --- a/afh_recv.c +++ b/afh_recv.c @@ -40,11 +40,11 @@ static int afh_execute(struct btr_node *btrn, const char *cmd, char **result) *result = NULL; if (!strcmp(cmd, "seconds_total")) { - *result = make_message("%lu", pard->afhi.seconds_total); + *result = make_message("%" PRIu32, pard->afhi.seconds_total); return 1; } if (!strcmp(cmd, "chunks_total")) { - *result = make_message("%lu", pard->afhi.chunks_total); + *result = make_message("%" PRIu32, pard->afhi.chunks_total); return 1; } if (!strcmp(cmd, "afhi")) {