From mboxrd@z Thu Jan 1 00:00:00 1970 From: Natanael Copa Subject: [PATCH v3 01/15] app/testpmd: replace uint with unsigned int Date: Wed, 13 Mar 2019 18:06:43 +0100 Message-ID: <20190313170657.16688-2-ncopa@alpinelinux.org> References: <20190313170657.16688-1-ncopa@alpinelinux.org> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Cc: Natanael Copa To: dev@dpdk.org Return-path: Received: from mx1.tetrasec.net (mx1.tetrasec.net [74.117.190.25]) by dpdk.org (Postfix) with ESMTP id 21A3337B0 for ; Wed, 13 Mar 2019 18:07:21 +0100 (CET) In-Reply-To: <20190313170657.16688-1-ncopa@alpinelinux.org> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Improve portability by avoid use non-standard 'uint'. This fixes following build error when building with musl libc: In file included from ../app/test-pmd/cmdline.c:75: ../app/test-pmd/testpmd.h:809:29: error: unknown type name 'uint'; did yo= u mean 'int'? uint8_t *hash_key, uint hash_key_len); ^~~~ int Signed-off-by: Natanael Copa --- app/test-pmd/testpmd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test-pmd/testpmd.h b/app/test-pmd/testpmd.h index fa4887853..84ef3fc30 100644 --- a/app/test-pmd/testpmd.h +++ b/app/test-pmd/testpmd.h @@ -806,7 +806,7 @@ int set_vf_rate_limit(portid_t port_id, uint16_t vf, = uint16_t rate, =20 void port_rss_hash_conf_show(portid_t port_id, int show_rss_key); void port_rss_hash_key_update(portid_t port_id, char rss_type[], - uint8_t *hash_key, uint hash_key_len); + uint8_t *hash_key, unsigned int hash_key_len); int rx_queue_id_is_invalid(queueid_t rxq_id); int tx_queue_id_is_invalid(queueid_t txq_id); void setup_gro(const char *onoff, portid_t port_id); --=20 2.21.0