Skip to contentSkip to conversation

how to avoid "non-matching type" in my program with dpdk

DISCUSSION Linhaifeng 1 participant 1 message Nov 27, 2014

lore
Share & tools
lore

Linhaifeng

author
#0 lore raw

Hi,all

when i compile my program with dpdk there is a warning found by gcc.The message is like follow.I don't know how to avoid it.Help me.

/usr/include/dpdk-1.7.0/x86_64-native-linuxapp-gcc//include/rte_common.h:176: warning: cast from function call of type ‘uintptr_t’ to non-matching type ‘void *’

# gcc --version
gcc-4.3 (SUSE Linux) 4.3.4 [gcc-4_3-branch revision 152973]
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Signature · 2 lines
Regards,
Haifeng