Commit a49b28cc authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

snmpapi/tests: Use the available ARRAY_SIZE() macro.

parent 1e9de768
......@@ -211,7 +211,7 @@ static void test_SnmpUtilOidCpyFree(void)
{
INT ret;
static UINT ids[] = { 1, 3, 6, 1, 4, 1, 311 };
static AsnObjectIdentifier dst, src = { sizeof(ids) / sizeof(ids[0]), ids };
static AsnObjectIdentifier dst, src = { ARRAY_SIZE(ids), ids };
/* These crashes under win98 */
if(0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment