diff --git a/src/controller/java/src/chip/devicecontroller/model/ChipEventPath.java b/src/controller/java/src/chip/devicecontroller/model/ChipEventPath.java index 5f6f7c6dcd6be5..f3798cc826047c 100644 --- a/src/controller/java/src/chip/devicecontroller/model/ChipEventPath.java +++ b/src/controller/java/src/chip/devicecontroller/model/ChipEventPath.java @@ -83,7 +83,7 @@ public static ChipEventPath newInstance( } /** Create a new {@link ChipEventPath} with only concrete ids. */ - public static ChipEventPath newInstance(long endpointId, long clusterId, long eventId) { + public static ChipEventPath newInstance(int endpointId, long clusterId, long eventId) { return new ChipEventPath( ChipPathId.forId(endpointId), ChipPathId.forId(clusterId),