mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 09:21:36 +00:00
MSVC build fix
git-svn-id: https://svn.eduke32.com/eduke32@1806 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
a241d80030
commit
bcadbd372b
2 changed files with 5 additions and 6 deletions
|
@ -1646,7 +1646,7 @@ void update_highlightsector()
|
|||
}
|
||||
|
||||
// hook run after handleevents in side view
|
||||
static void sideview_filter_keys()
|
||||
static void sideview_filter_keys(void)
|
||||
{
|
||||
uint32_t i;
|
||||
|
||||
|
@ -1758,10 +1758,9 @@ static void fade_screen()
|
|||
|
||||
static void copy_some_wall_members(int16_t dst, int16_t src)
|
||||
{
|
||||
static const walltype nullwall = { .yrepeat=8, .extra=-1 };
|
||||
static const walltype nullwall = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, -1 };
|
||||
walltype *dstwal=&wall[dst];
|
||||
const walltype *srcwal;
|
||||
srcwal = src>=0 ? &wall[src] : &nullwall;
|
||||
const walltype *srcwal = src >= 0 ? &wall[src] : &nullwall;
|
||||
|
||||
dstwal->cstat = srcwal->cstat;
|
||||
dstwal->shade = srcwal->shade;
|
||||
|
|
|
@ -7838,7 +7838,7 @@ static int32_t osdcmd_vars_pk(const osdfuncparm_t *parm)
|
|||
}
|
||||
else if (tryfix)
|
||||
{
|
||||
uint64_t whicherrs = parm->numparms==1 ? ULONG_LONG_MAX : 0;
|
||||
uint64_t whicherrs = parm->numparms==1 ? 0xffffffffffffffffull : 0;
|
||||
|
||||
if (whicherrs==0)
|
||||
{
|
||||
|
@ -7854,7 +7854,7 @@ static int32_t osdcmd_vars_pk(const osdfuncparm_t *parm)
|
|||
m = (int32_t)Bstrtol(endptr+1, NULL, 10);
|
||||
if (n>=1 && n<=m && m<=MAXCORRUPTTHINGS)
|
||||
{
|
||||
uint64_t mask = ULONG_LONG_MAX;
|
||||
uint64_t mask = 0xffffffffffffffffull;
|
||||
m = m-n+1;
|
||||
mask >>= (MAXCORRUPTTHINGS-m);
|
||||
mask <<= (n-1);
|
||||
|
|
Loading…
Reference in a new issue