diff --git a/hphp/runtime/base/stats.h b/hphp/runtime/base/stats.h index 5822b322d..28bb6e085 100644 --- a/hphp/runtime/base/stats.h +++ b/hphp/runtime/base/stats.h @@ -218,7 +218,7 @@ inline void inc(StatCounter stat, int n = 1) { } inline StatCounter opcodeToStatCounter(Op opc) { - assert(OpLowInvalid == 0); + assert(static_cast(OpLowInvalid) == 0); return StatCounter(Instr_InterpBBLowInvalid + STATS_PER_OPCODE * uint8_t(opc)); } diff --git a/hphp/test/quick/setprofile_throw.php b/hphp/test/quick/setprofile_throw.php.disable similarity index 100% rename from hphp/test/quick/setprofile_throw.php rename to hphp/test/quick/setprofile_throw.php.disable