k.org'
Subject: Re: [dpdk-dev] Use rte_malloc in application
On 03/08/2017 07:12, Rohit Saini (Stellus) wrote:
> With below code, I am getting this warning.
>
> warning: cast to pointer from integer of different size
> [-Wint-to-pointer-cast]
>
> my_node_t *data_ptr = (
Hi,
This is not strictly DPDK-related, but still...
On Thu, Aug 3, 2017 at 9:12 AM, Rohit Saini (Stellus)
wrote:
> With below code, I am getting this warning.
>
> warning: cast to pointer from integer of different size
> [-Wint-to-pointer-cast]
>
> my_node_t *data_ptr = (my_node_t *) rte_malloc
On 03/08/2017 07:12, Rohit Saini (Stellus) wrote:
With below code, I am getting this warning.
warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
my_node_t *data_ptr = (my_node_t *) rte_malloc(NULL, sizeof(my_node_t), 0);
As far as I can see, the syntax looks corre
With below code, I am getting this warning.
warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
my_node_t *data_ptr = (my_node_t *) rte_malloc(NULL, sizeof(my_node_t), 0);
Thanks,
Rohit
-Original Message-
From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of R
4 matches
Mail list logo