Skip to content
Commit d0b4da13 authored by Daniele Di Proietto's avatar Daniele Di Proietto Committed by Jesse Gross
Browse files

openvswitch: avoid warnings in vport_from_priv



This change, firstly, avoids declaring the formal parameter const,
since it is treated as non const. (to avoid -Wcast-qual)
Secondly, it cast the pointer from void* to u8*, since it is used
in arithmetic (to avoid -Wpointer-arith)

Signed-off-by: default avatarDaniele Di Proietto <daniele.di.proietto@gmail.com>
Signed-off-by: default avatarJesse Gross <jesse@nicira.com>
parent 7085130b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment