summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xine-engine/post.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xine-engine/post.h b/src/xine-engine/post.h
index d37c52908..f97b9ffca 100644
--- a/src/xine-engine/post.h
+++ b/src/xine-engine/post.h
@@ -270,7 +270,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