datapath: avoid cast-qual warning in vport_priv
authorDaniele Di Proietto <daniele.di.proietto@gmail.com>
Thu, 23 Jan 2014 22:26:05 +0000 (23:26 +0100)
committerJesse Gross <jesse@nicira.com>
Mon, 3 Feb 2014 22:05:21 +0000 (14:05 -0800)
commit61df3421651dc0b9c12c1f22418a1769ba52c740
tree2e9b3627f4752620bb0e2f578dbe7ca4c6ada99e
parent38b5f1e78a0001fae9a52bc4db2a41c022f7b36d
datapath: avoid cast-qual warning in vport_priv

This function must cast a const value to a non const value.
By adding an uintptr_t cast the warning is suppressed.
To avoid the cast (proper solution) several function signatures
must be changed.

Signed-off-by: Daniele Di Proietto <daniele.di.proietto@gmail.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
datapath/vport.h