........S. [ZBXNEXT-1782] replaced *(ptr + n) with ptr[n]; will be so more readable