X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=afh_recv.c;h=164634634fedbaaf5441ebdec79dcff51e24d641;hp=01785d6c6796dd98bfc514bb11a76fe3cbfaa101;hb=33e57c3a92e4c105504832b4bb106273ffcdc2a7;hpb=36ec2a43a7d9c085f16544e282a439cdbaec1e00 diff --git a/afh_recv.c b/afh_recv.c index 01785d6c..16463463 100644 --- a/afh_recv.c +++ b/afh_recv.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2011-2014 Andre Noll + * Copyright (C) 2011 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -8,7 +8,6 @@ #include #include -#include #include "para.h" #include "error.h" @@ -41,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")) {