summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/xine/post.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/xine/post.h b/include/xine/post.h
index c15bab765..f0d0c9316 100644
--- a/include/xine/post.h
+++ b/include/xine/post.h
@@ -290,7 +290,7 @@ static inline post_video_port_t *_x_post_video_frame_to_port(vo_frame_t *frame)
static inline post_video_port_t *_x_post_ovl_manager_to_port(video_overlay_manager_t *manager) {
#ifdef POST_INTERNAL
return (post_video_port_t *)( (uint8_t *)manager -
- (unsigned)&(((post_video_port_t *)NULL)->manager_storage) );
+ (uint8_t*)&(((post_video_port_t *)NULL)->manager_storage) );
#else
return (post_video_port_t *)( (uint8_t *)manager - sizeof(post_video_port_t) );
#endif