Use 0, not NULL, since 'value' has integer type, not pointer type.