From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH v4 5/6] example: distributor app showing burst api Date: Fri, 13 Jan 2017 15:38:42 +0000 Message-ID: <20170113153842.GE201464@bricha3-MOBL3.ger.corp.intel.com> References: <1482381428-148094-2-git-send-email-david.hunt@intel.com> <1483948248-91364-1-git-send-email-david.hunt@intel.com> <1483948248-91364-6-git-send-email-david.hunt@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: dev@dpdk.org To: David Hunt Return-path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 7CC5A14EC for ; Fri, 13 Jan 2017 16:38:46 +0100 (CET) Content-Disposition: inline In-Reply-To: <1483948248-91364-6-git-send-email-david.hunt@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Mon, Jan 09, 2017 at 07:50:47AM +0000, David Hunt wrote: > Signed-off-by: David Hunt > --- > examples/distributor/main.c | 508 ++++++++++++++++++++++++++++++++++---------- > 1 file changed, 390 insertions(+), 118 deletions(-) > > diff --git a/examples/distributor/main.c b/examples/distributor/main.c > index e7641d2..eebfb74 100644 Compile errors on 32-bit: /home/bruce/dpdk-clean/examples/distributor/main.c: In function ‘print_stats’: /home/bruce/dpdk-clean/examples/distributor/main.c:589:14: error: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘uint64_t {aka volatile long long unsigned int}’ [-Werror=format=] printf("%ld ", app_stats.worker_bursts[i][j]); ^