diff --git a/types/memblock.cpp b/types/memblock.cpp index f3dd028..b19a89c 100644 --- a/types/memblock.cpp +++ b/types/memblock.cpp @@ -162,10 +162,13 @@ cell_t sm_MemoryBlockStoreCellToOffset(IPluginContext *pContext, const cell_t *p switch(params[3]) { case NumberType_Int8: *reinterpret_cast(addr) = value; + break; case NumberType_Int16: *reinterpret_cast(addr) = value; + break; case NumberType_Int32: *reinterpret_cast(addr) = value; + break; } return 0; }