diff options
Diffstat (limited to 'net/openvswitch/vport.h')
-rw-r--r-- | net/openvswitch/vport.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/openvswitch/vport.h b/net/openvswitch/vport.h index 3e12940985a2..8d721e62f388 100644 --- a/net/openvswitch/vport.h +++ b/net/openvswitch/vport.h | |||
@@ -172,7 +172,7 @@ void ovs_vport_deferred_free(struct vport *vport); | |||
172 | */ | 172 | */ |
173 | static inline void *vport_priv(const struct vport *vport) | 173 | static inline void *vport_priv(const struct vport *vport) |
174 | { | 174 | { |
175 | return (u8 *)vport + ALIGN(sizeof(struct vport), VPORT_ALIGN); | 175 | return (u8 *)(uintptr_t)vport + ALIGN(sizeof(struct vport), VPORT_ALIGN); |
176 | } | 176 | } |
177 | 177 | ||
178 | /** | 178 | /** |