diff --git a/src/p_mobj.h b/src/p_mobj.h index c7ab1f364..2dfeff0a4 100644 --- a/src/p_mobj.h +++ b/src/p_mobj.h @@ -162,7 +162,7 @@ typedef enum // Disable momentum-based squash and stretch. MF_NOSQUISH = 1<<30, // Disable hitlag for this object - MF_NOHITLAGFORME = 1<<31, + MF_NOHITLAGFORME = (INT32)(1U<<31), // no more free slots, next up I suppose we can get rid of shit like MF_BOXICON? } mobjflag_t; diff --git a/src/p_saveg.c b/src/p_saveg.c index 0561d365a..5ebfc8478 100644 --- a/src/p_saveg.c +++ b/src/p_saveg.c @@ -1527,7 +1527,7 @@ typedef enum MD_DSCALE = 1<<28, MD_BLUEFLAG = 1<<29, MD_REDFLAG = 1<<30, - MD_MORE = 1<<31 + MD_MORE = (INT32)(1U<<31) } mobj_diff_t; typedef enum diff --git a/src/r_defs.h b/src/r_defs.h index c69d78d64..a466c856c 100644 --- a/src/r_defs.h +++ b/src/r_defs.h @@ -150,7 +150,7 @@ typedef enum FF_SPINBUST = 0x10000000, ///< Used with ::FF_BUSTUP. Also bustable if you're in your spinning frames. FF_STRONGBUST = 0x20000000, ///< Used with ::FF_BUSTUP. Only bustable by "strong" characters (Knuckles) and abilities (bouncing, twinspin, melee). FF_RIPPLE = 0x40000000, ///< Ripple the flats - FF_COLORMAPONLY = 0x80000000, ///< Only copy the colormap, not the lightlevel + FF_COLORMAPONLY = (INT32)0x80000000, ///< Only copy the colormap, not the lightlevel FF_GOOWATER = FF_SHATTERBOTTOM, ///< Used with ::FF_SWIMMABLE. Makes thick bouncey goop. } ffloortype_e; @@ -775,7 +775,7 @@ typedef enum RF_MODULATE = ((AST_MODULATE-1)<