From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f49.google.com (mail-wg0-f49.google.com [74.125.82.49]) by dpdk.org (Postfix) with ESMTP id 81C995A6A for ; Thu, 5 Mar 2015 18:27:58 +0100 (CET) Received: by wggz12 with SMTP id z12so55027667wgg.2 for ; Thu, 05 Mar 2015 09:27:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=mVVz3uVqF8hlvK83IS3bsTblLukM8IoH4AxACzScxUU=; b=cIK+WOHHwr9PB37WPOkXd68RHeZrryRinMUFU5FPuM29UGu/S7TM8CJpbatOtTUGpG iYDqnK7z7YqPUVvC0EDdpvN5f2Lo3NYM1k3F7j9cipbh4xjTYwJcGvWb8OpLA6zFyzo/ S0PkJkUVbZ6kw0ujefWAZd2Wv5zUU7kFqZ0xf4QM/0TEwTCjPUMfvF11okJn/ShYWRNu eG+qUvBw5gGtyAfYJk59cHw+DcsnygLPyVHBmscqDQ19sHV8KzTdvvvY/x8r5U2I48PM 0TOZHm0Nms5rV6NgldTk7RUBXGq2HFkS9RYs3UI4O+wixdvCAmwJ/8YILzhh5gRievkt bx4w== X-Gm-Message-State: ALoCoQn3MP8LbVZz27apWOyfpKSr92Cx27gMxJtD6HLccSm3Z/Ryy5jFcEen/ZAodtgUgby1cyDQ X-Received: by 10.181.9.107 with SMTP id dr11mr25103511wid.40.1425576478422; Thu, 05 Mar 2015 09:27:58 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id gm2sm12535121wib.5.2015.03.05.09.27.57 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Mar 2015 09:27:57 -0800 (PST) From: Thomas Monjalon To: Michael Qiu Date: Thu, 05 Mar 2015 18:27:23 +0100 Message-ID: <1805115.IjPZLV3BZK@xps13> Organization: 6WIND User-Agent: KMail/4.14.4 (Linux/3.18.4-1-ARCH; KDE/4.14.4; x86_64; ; ) In-Reply-To: <1425564054-13883-1-git-send-email-michael.qiu@intel.com> References: <1425561339-13300-3-git-send-email-michael.qiu@intel.com> <1425564054-13883-1-git-send-email-michael.qiu@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH 2/3 v2] app/test: Fix size_t printf format issue X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Mar 2015 17:27:58 -0000 2015-03-05 22:00, Michael Qiu: > test_hash.c: In function =E2=80=98test_crc32_hash_alg_equiv=E2=80=99:= > error: format =E2=80=98%lu=E2=80=99 expects argument of type =E2=80=98= long unsigned int=E2=80=99, > but argument 2 has type =E2=80=98size_t=E2=80=99 [-Werror=3Dformat] >=20 > According to C99, for size_t type should use format "%zu" >=20 > Signed-off-by: Michael Qiu You forgot to add the previous acknowledgement from Bruce.