diff options
author | wm4 <wm4@nowhere> | 2015-03-20 00:46:56 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-03-20 00:46:56 +0100 |
commit | 29083ae31bbe80c6f2459541335b801ced585627 (patch) | |
tree | 0e50bb39d3a0f2484e2e7615c6d25f9329227a68 | |
parent | 25c8bf8754b5981911b60e3cd72b9a428035afe3 (diff) |
vo_xv: remove pointless cast
-rw-r--r-- | video/out/vo_xv.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/video/out/vo_xv.c b/video/out/vo_xv.c index e74a8a406a..22090d11c8 100644 --- a/video/out/vo_xv.c +++ b/video/out/vo_xv.c @@ -514,8 +514,7 @@ static bool allocate_xvimage(struct vo *vo, int foo) ctx->Shminfo[foo].shmid = shmget(IPC_PRIVATE, ctx->xvimage[foo]->data_size, IPC_CREAT | 0777); - ctx->Shminfo[foo].shmaddr = (char *) shmat(ctx->Shminfo[foo].shmid, 0, - 0); + ctx->Shminfo[foo].shmaddr = shmat(ctx->Shminfo[foo].shmid, 0, 0); if (ctx->Shminfo[foo].shmaddr == (void *)-1) return false; ctx->Shminfo[foo].readOnly = False; |