How to use inet_ntoa() function in Rock Pi S?

Dear Sir
I use inet_ntoa() function in Rock Pi S,
But i found error as below.
How to fix it ?
system.c:327:76: error: incompatible type for argument 1 of ‘inet_ntoa’
PRINTF_INFO("[%s] ip : %s\r\n",FUNCTION,(struct in_addr)&inet_ntoa(pr->static_ip));
/usr/local/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/libc/usr/include/arpa/inet.h:53:14: note: expected ‘struct in_addr’ but argument is of type ‘i32u {aka unsigned int}’
extern char *inet_ntoa (struct in_addr __in) __THROW;
^~~~~~~~~