summaryrefslogtreecommitdiff
path: root/src/p_spec.c
diff options
context:
space:
mode:
authorSimon Howard2007-06-16 16:02:58 +0000
committerSimon Howard2007-06-16 16:02:58 +0000
commita9feab0830ecdf0b3e52e9339522918e3f12226f (patch)
treee2eb921859fba84c39215e6024071f30d0ca4158 /src/p_spec.c
parentc447a5da8c8087d94867560764b59f03d0e70b1d (diff)
downloadchocolate-doom-a9feab0830ecdf0b3e52e9339522918e3f12226f.tar.gz
chocolate-doom-a9feab0830ecdf0b3e52e9339522918e3f12226f.tar.bz2
chocolate-doom-a9feab0830ecdf0b3e52e9339522918e3f12226f.zip
Shut up strict aliasing warnings
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 909
Diffstat (limited to 'src/p_spec.c')
-rw-r--r--src/p_spec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/p_spec.c b/src/p_spec.c
index 01b612a1..67f32194 100644
--- a/src/p_spec.c
+++ b/src/p_spec.c
@@ -1165,7 +1165,7 @@ void P_UpdateSpecials (void)
buttonlist[i].btexture;
break;
}
- S_StartSound((mobj_t *)&buttonlist[i].soundorg,sfx_swtchn);
+ S_StartSound(&buttonlist[i].soundorg,sfx_swtchn);
memset(&buttonlist[i],0,sizeof(button_t));
}
}