diff options
Diffstat (limited to 'src/jit/emit.cpp')
-rw-r--r-- | src/jit/emit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jit/emit.cpp b/src/jit/emit.cpp index 936481a3d4..c72deee89c 100644 --- a/src/jit/emit.cpp +++ b/src/jit/emit.cpp @@ -92,7 +92,7 @@ const char* emitter::emitIfName(unsigned f) static char errBuff[32]; - if (f < sizeof(ifNames) / sizeof(*ifNames)) + if (f < _countof(ifNames)) { return ifNames[f]; } @@ -3118,7 +3118,7 @@ const BYTE emitter::emitFmtToOps[] = { }; #ifdef DEBUG -const unsigned emitter::emitFmtCount = sizeof(emitFmtToOps) / sizeof(emitFmtToOps[0]); +const unsigned emitter::emitFmtCount = _countof(emitFmtToOps); #endif /***************************************************************************** |