net: uip: Avoid casting warning when accessing link local addr
net: uip: Avoid casting warning when accessing link local addr

The uip_ds6_nbr_get_ll() returns const addr but we need to
overwrite the addr so cast is needed here.

The const pointer returned by nbr-table.c:nbr_table_get_lladdr(),
which is called by uip_ds6_nbr_get_ll(), actually points to
neighbor cache which is dynamic and will never be stored in read
only memory, and thus is safe to cast to non-const.

Change-Id: Ifb47e4cb75054b0a9717304dc1d0bc497fee1e87
Signed-off-by: Jukka Rissanen <f9f077d1da4c7aa947f9864fa5a28c3588f6a45d@linux.intel.com>

zephyriot/zephyr,holtmann/zephyr,jamesonwilliams/zephyr-kernel,ldts/zephyr,tidyjiang8/zephyr-doc,erwango/zephyr,rsalveti/zephyr,rsalveti/zephyr,runchip/zephyr-cc3200,galak/zephyr,coldnew/zephyr-project-fork,mbolivar/zephyr,runchip/zephyr-cc3220,sharronliu/zephyr,aceofall/zephyr-iotos,bigdinotech/zephyr,GiulianoFranchetto/zephyr,GiulianoFranchetto/zephyr,mirzak/zephyr-os,holtmann/zephyr,Vudentz/zephyr,fractalclone/zephyr-riscv,runchip/zephyr-cc3220,Vudentz/zephyr,zephyrproject-rtos/zephyr,mirzak/zephyr-os,32bitmicro/zephyr,jamesonwilliams/zephyr-kernel,galak/zephyr,kraj/zephyr,coldnew/zephyr-project-fork,fbsder/zephyr,kraj/zephyr,punitvara/zephyr,ldts/zephyr,rsalveti/zephyr,runchip/zephyr-cc3200,pklazy/zephyr,kraj/zephyr,nashif/zephyr,sharronliu/zephyr,GiulianoFranchetto/zephyr,punitvara/zephyr,punitvara/zephyr,mbolivar/zephyr,tidyjiang8/zephyr-doc,fbsder/zephyr,explora26/zephyr,ldts/zephyr,jamesonwilliams/zephyr-kernel,galak/zephyr,nashif/zephyr,tidyjiang8/zephyr-doc,32bitmicro/zephyr,finikorg/zephyr,fractalclone/zephyr-riscv,Vudentz/zephyr,sharronliu/zephyr,coldnew/zephyr-project-fork,runchip/zephyr-cc3220,runchip/zephyr-cc3200,explora26/zephyr,galak/zephyr,zephyriot/zephyr,finikorg/zephyr,bboozzoo/zephyr,Vudentz/zephyr,punitvara/zephyr,erwango/zephyr,32bitmicro/zephyr,holtmann/zephyr,nashif/zephyr,mbolivar/zephyr,GiulianoFranchetto/zephyr,kraj/zephyr,ldts/zephyr,bboozzoo/zephyr,zephyrproject-rtos/zephyr,fractalclone/zephyr-riscv,bigdinotech/zephyr,holtmann/zephyr,aceofall/zephyr-iotos,bigdinotech/zephyr,finikorg/zephyr,explora26/zephyr,holtmann/zephyr,bboozzoo/zephyr,pklazy/zephyr,erwango/zephyr,nashif/zephyr,coldnew/zephyr-project-fork,bboozzoo/zephyr,mbolivar/zephyr,rsalveti/zephyr,aceofall/zephyr-iotos,zephyrproject-rtos/zephyr,sharronliu/zephyr,aceofall/zephyr-iotos,explora26/zephyr,ldts/zephyr,finikorg/zephyr,fbsder/zephyr,zephyriot/zephyr,fractalclone/zephyr-riscv,punitvara/zephyr,pklazy/zephyr,rsalveti/zephyr,32bitmicro/zephyr,explora26/zephyr,bboozzoo/zephyr,32bitmicro/zephyr,tidyjiang8/zephyr-doc,bigdinotech/zephyr,jamesonwilliams/zephyr-kernel,zephyrproject-rtos/zephyr,fbsder/zephyr,runchip/zephyr-cc3220,GiulianoFranchetto/zephyr,kraj/zephyr,finikorg/zephyr,pklazy/zephyr,zephyriot/zephyr,Vudentz/zephyr,coldnew/zephyr-project-fork,runchip/zephyr-cc3200,runchip/zephyr-cc3200,bigdinotech/zephyr,sharronliu/zephyr,erwango/zephyr,fractalclone/zephyr-riscv,galak/zephyr,mirzak/zephyr-os,runchip/zephyr-cc3220,tidyjiang8/zephyr-doc,zephyrproject-rtos/zephyr,nashif/zephyr,zephyriot/zephyr,mbolivar/zephyr,jamesonwilliams/zephyr-kernel,pklazy/zephyr,aceofall/zephyr-iotos,Vudentz/zephyr,erwango/zephyr,mirzak/zephyr-os,mirzak/zephyr-os,fbsder/zephyr